[Jifty-commit] r2000 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Oct 1 20:15:14 EDT 2006
Author: nelhage
Date: Sun Oct 1 20:15:13 2006
New Revision: 2000
Modified:
jifty/trunk/lib/Jifty/YAML.pm
Log:
Reverting to dumping using YAML until we figure out why YAML::Syck's
dumps choke YAML.pm (todo.pl depends on YAML.pm parsing
server-generated YAML)
Modified: jifty/trunk/lib/Jifty/YAML.pm
==============================================================================
--- jifty/trunk/lib/Jifty/YAML.pm (original)
+++ jifty/trunk/lib/Jifty/YAML.pm Sun Oct 1 20:15:13 2006
@@ -21,7 +21,11 @@
if ( eval { require YAML::Syck; YAML::Syck->VERSION(0.27) } ) {
*Load = *YAML::Syck::Load;
- *Dump = *YAML::Syck::Dump;
+
+ # XXX Force non-Syck Dump until we can figure out why
+ # YAML::Syck's dumps choke YAML.pm in some cases
+ require YAML;
+ *Dump = *YAML::Dump;
*LoadFile = *YAML::Syck::LoadFile;
*DumpFile = *YAML::Syck::DumpFile;
More information about the Jifty-commit
mailing list