[Buildbot-commits] buildbot/buildbot/process step.py,1.85,1.86

Brian Warner warner at users.sourceforge.net
Mon May 22 00:50:33 UTC 2006


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

Modified Files:
	step.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-559
Creator:  Brian Warner <warner at lothar.com>

fix another ShellCommand bug, where non-list commands were broken

	(ShellCommand._interpolateProperties): oops, handle non-list
	commands (i.e. strings with multiple words separated by spaces in
	them) properly, instead of forgetting about them.


Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- step.py	22 May 2006 00:35:27 -0000	1.85
+++ step.py	22 May 2006 00:50:31 -0000	1.86
@@ -969,7 +969,7 @@
     def _interpolateProperties(self, command):
         # interpolate any build properties into our command
         if not isinstance(command, (list, tuple)):
-            return
+            return command
         command_argv = []
         for argv in command:
             if isinstance(argv, WithProperties):





More information about the Commits mailing list