[pypy-commit] buildbot default: fix an indentation bug that sliped in a while ago.

alex_gaynor noreply at buildbot.pypy.org
Sat Jun 18 04:34:56 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r518:e86e10ebcc62
Date: 2011-06-17 19:38 -0700
http://bitbucket.org/pypy/buildbot/changeset/e86e10ebcc62/

Log:	fix an indentation bug that sliped in a while ago.

diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -75,13 +75,13 @@
         ss = b.getSourceStamp()
         branch = ss.branch or '<trunk>'
         builder_name = b.getBuilder().getName()
-    url = (self.path_to_root(req) +
-           "summary?builder=" + html.escape(builder_name) +
-           "&branch=" + html.escape(branch))
-    data = '%s&nbsp;&nbsp;&nbsp;(<a href="%s">view in summary</a>)\n\n%s'% (
-        data[:i2],
-        url,
-        data[i2:])
+        url = (self.path_to_root(req) +
+               "summary?builder=" + html.escape(builder_name) +
+               "&branch=" + html.escape(branch))
+        data = '%s&nbsp;&nbsp;&nbsp;(<a href="%s">view in summary</a>)\n\n%s'% (
+            data[:i2],
+            url,
+            data[i2:])
     return data
 _previous_body_2 = StatusResourceBuild.body
 if _previous_body_2.__name__ == 'body':


More information about the pypy-commit mailing list