[Buildbot-commits] buildbot/buildbot/steps source.py,1.11,1.12

Brian Warner warner at users.sourceforge.net
Sun Mar 30 01:29:58 UTC 2008


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

Modified Files:
	source.py 
Log Message:
[project @ #208:source-got_revision-to-str.patch]
Patch by Dan Locks <dwlocks at zmanda.com>: stringify got_revision, too.

Original author: dustin at v.igoro.us
Date: 2008-03-26 16:01:30+00:00

Index: source.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/source.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- source.py	22 Mar 2008 22:15:00 -0000	1.11
+++ source.py	30 Mar 2008 01:29:56 -0000	1.12
@@ -186,7 +186,7 @@
     def commandComplete(self, cmd):
         got_revision = None
         if cmd.updates.has_key("got_revision"):
-            got_revision = cmd.updates["got_revision"][-1]
+            got_revision = str(cmd.updates["got_revision"][-1])
         self.setProperty("got_revision", got_revision)
 
 





More information about the Commits mailing list