[Jifty-commit] r688 - in jifty/trunk: lib/Jifty/Mason

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Mar 14 15:30:57 EST 2006


Author: alexmv
Date: Tue Mar 14 15:30:57 2006
New Revision: 688

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Mason/Halo.pm

Log:
 r8524 at zoq-fot-pik:  chmrr | 2006-03-14 15:30:48 -0500
  * YAML doesn't deal well with outputting globs


Modified: jifty/trunk/lib/Jifty/Mason/Halo.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Mason/Halo.pm	(original)
+++ jifty/trunk/lib/Jifty/Mason/Halo.pm	Tue Mar 14 15:30:57 2006
@@ -43,14 +43,14 @@
 
         push @$STACK,
             {
-            id         => $halo_base,
-            args        => $context->args,
-            start_time => Time::HiRes::time(),
-            path        => $context->comp->path,
+            id           => $halo_base,
+            args         => [map {UNIVERSAL::isa($_,"GLOB") ? "*GLOB*" : $_} @{$context->args}],
+            start_time   => Time::HiRes::time(),
+            path         => $context->comp->path,
             subcomponent => (  $context->comp->is_subcomp() ? 1:0),
-            name        => $context->comp->name,
-            proscribed => ($self->_unrendered_component($context) ? 1 :0 ),
-            depth => $DEPTH
+            name         => $context->comp->name,
+            proscribed   => ($self->_unrendered_component($context) ? 1 :0 ),
+            depth        => $DEPTH
             };
 
         push @$INDEX_STACK, $#{@$STACK};


More information about the Jifty-commit mailing list