[Jifty-commit] r1995 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Sep 29 11:41:46 EDT 2006


Author: audreyt
Date: Fri Sep 29 11:41:46 2006
New Revision: 1995

Modified:
   jifty/trunk/lib/Jifty/YAML.pm

Log:
* Jifty::YAML: YAML::Syck can handle recursive dumps just fine...

Modified: jifty/trunk/lib/Jifty/YAML.pm
==============================================================================
--- jifty/trunk/lib/Jifty/YAML.pm	(original)
+++ jifty/trunk/lib/Jifty/YAML.pm	Fri Sep 29 11:41:46 2006
@@ -21,12 +21,7 @@
 
     if ( eval { require YAML::Syck; YAML::Syck->VERSION(0.27) } ) {
         *Load     = *YAML::Syck::Load;
-
-        # XXX Force non-Syck Dump until it can handle dumping circular
-        # references, which show up in halos while dumping component
-        # arguments
-        require YAML;
-        *Dump     = *YAML::Dump;
+        *Dump     = *YAML::Syck::Dump;
 
         *LoadFile = *YAML::Syck::LoadFile;
         *DumpFile = *YAML::Syck::DumpFile;


More information about the Jifty-commit mailing list