[Buildbot-devel] waterfall display, global name 'projectURL' not defined, patch included

Douglas Hubler dhubler at acquia.com
Thu Oct 8 16:05:58 UTC 2009


On the git head as of 10/8/09 10AM EDT, if I clicked on any build link i got an
error about 'global name 'projectURL' not defined.  I'm including a patch here.
projectURL is used in the code but not defined.


diff --git a/buildbot/status/web/build.py b/buildbot/status/web/build.py
index d1d5ded..8885b4d 100644
--- a/buildbot/status/web/build.py
+++ b/buildbot/status/web/build.py
@@ -33,6 +33,7 @@ class StatusResourceBuild(HtmlResource):
         b = self.build_status
         status = self.getStatus(req)
         projectName = status.getProjectName()
+        projectURL = status.getProjectURL()
         data = ('<div class="title"><a href="%s">%s</a></div>\n'
                 % (self.path_to_root(req), projectName))
         builder_name = b.getBuilder().getName()






More information about the devel mailing list