[Buildbot-commits] buildbot/buildbot/status/web builder.py, 1.21, 1.22

Brian Warner warner at users.sourceforge.net
Wed Jun 25 23:52:24 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26364/buildbot/status/web

Modified Files:
	builder.py 
Log Message:
[project @ remove-redundant-footer.patch]
Remove a duplicated chunk of code -- probably from a bad merge

Original author: dustin at v.igoro.us
Date: 2008-06-13 22:48:08+00:00

Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/builder.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- builder.py	22 May 2008 22:13:22 -0000	1.21
+++ builder.py	25 Jun 2008 23:52:22 -0000	1.22
@@ -339,31 +339,6 @@
                  + "\n")
         data += '</div>\n'
 
-        # TODO: this stuff should be generated by a template of some sort
-        projectURL = s.getProjectURL()
-        projectName = s.getProjectName()
-        data += '<hr /><div class="footer">\n'
-
-        welcomeurl = self.path_to_root(req) + "index.html"
-        data += '[<a href="%s">welcome</a>]\n' % welcomeurl
-        data += "<br />\n"
-
-        data += '<a href="http://buildbot.sourceforge.net/">Buildbot</a>'
-        data += "-%s " % version
-        if projectName:
-            data += "working for the "
-            if projectURL:
-                data += "<a href=\"%s\">%s</a> project." % (projectURL,
-                                                            projectName)
-            else:
-                data += "%s project." % projectName
-        data += "<br />\n"
-        data += ("Page built: " +
-                 time.strftime("%a %d %b %Y %H:%M:%S",
-                               time.localtime(util.now()))
-                 + "\n")
-        data += '</div>\n'
-
         return data
 
     def getChild(self, path, req):





More information about the Commits mailing list