[Buildbot-commits] buildbot/buildbot/steps shell.py, 1.22, 1.23 source.py, 1.14, 1.15

Brian Warner warner at users.sourceforge.net
Thu May 22 22:13:28 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/steps
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17747/buildbot/steps

Modified Files:
	shell.py source.py 
Log Message:
[project @ #124:display-properties-web-status.patch]
Display build properties in the build status page.

Original author: dustin at v.igoro.us
Date: 2008-04-13 20:26:53+00:00

Index: shell.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/shell.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- shell.py	22 May 2008 22:12:57 -0000	1.22
+++ shell.py	22 May 2008 22:13:26 -0000	1.23
@@ -123,7 +123,7 @@
         if isinstance(words, (str, unicode)):
             words = words.split()
         # render() each word to handle WithProperties objects
-        words = [properties.render(word) for word in words]
+        words = properties.render(words)
         if len(words) < 1:
             return ["???"]
         if len(words) == 1:

Index: source.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/source.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- source.py	22 May 2008 22:12:57 -0000	1.14
+++ source.py	22 May 2008 22:13:26 -0000	1.15
@@ -187,7 +187,7 @@
         got_revision = None
         if cmd.updates.has_key("got_revision"):
             got_revision = str(cmd.updates["got_revision"][-1])
-        self.setProperty("got_revision", got_revision, "source")
+        self.setProperty("got_revision", got_revision, "Source")
 
 
 





More information about the Commits mailing list