[pypy-svn] r64927 - pypy/build/bot2/pypybuildbot

arigo at codespeak.net arigo at codespeak.net
Fri May 1 11:05:13 CEST 2009


Author: arigo
Date: Fri May  1 11:05:04 2009
New Revision: 64927

Modified:
   pypy/build/bot2/pypybuildbot/summary.py
Log:
Hide the line "builds aborted without getting a revision:"
if nothing follows.


Modified: pypy/build/bot2/pypybuildbot/summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/summary.py	(original)
+++ pypy/build/bot2/pypybuildbot/summary.py	Fri May  1 11:05:04 2009
@@ -437,6 +437,8 @@
         self.sections.append(section)
 
     def add_no_revision_builds(self, status, no_revision_builds):
+        if not no_revision_builds:
+            return
         section = html.div(html.p("builds aborted without getting"
                                   " a revision:"))
 



More information about the Pypy-commit mailing list