[Jifty-commit] r5574 - in jifty/trunk: share/web/templates/=

Jifty commits jifty-commit at lists.jifty.org
Wed Jul 23 13:20:19 EDT 2008


Author: alexmv
Date: Wed Jul 23 13:20:12 2008
New Revision: 5574

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/templates/=/subs

Log:
 r34554 at kohr-ah:  chmrr | 2008-07-23 13:17:58 -0400
  * Perltidy


Modified: jifty/trunk/share/web/templates/=/subs
==============================================================================
--- jifty/trunk/share/web/templates/=/subs	(original)
+++ jifty/trunk/share/web/templates/=/subs	Wed Jul 23 13:20:12 2008
@@ -4,7 +4,7 @@
 <%init>
 
 $r->content_type("text/html; charset=utf-8");
-$r->headers_out->{'Pragma'} = 'no-cache';
+$r->headers_out->{'Pragma'}        = 'no-cache';
 $r->headers_out->{'Cache-control'} = 'no-cache';
 $r->send_http_header;
 
@@ -18,7 +18,6 @@
 END
 chomp $begin;
 
-
 if ($forever) {
     my $whitespace = " " x ( 1024 - length $begin );
     $begin =~ s/<body>$/$whitespace<body>/s;
@@ -28,19 +27,14 @@
 $m->flush_buffer;
 $writer->startTag("body");
 
-
-    while (1) {
-        my $sent = write_subs_once($writer);
-        flush STDOUT;
-        last if ($sent && !$forever);
-        sleep 1;
-    }
-    $writer->endTag();
-    return;
-
-
-
-
+while (1) {
+    my $sent = write_subs_once($writer);
+    flush STDOUT;
+    last if ( $sent && !$forever );
+    sleep 1;
+}
+$writer->endTag();
+return;
 
 sub write_subs_once {
     my $writer = shift;
@@ -53,6 +47,7 @@
             $writer->dataElement( "content", $content );
             $writer->endTag();
             $writer->endTag();
-            } );
+        }
+    );
 }
 </%init>


More information about the Jifty-commit mailing list