[Buildbot-commits] buildbot/buildbot/steps shell.py,1.6,1.7

Brian Warner warner at users.sourceforge.net
Sat Dec 15 01:02:06 UTC 2007


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

Modified Files:
	shell.py 
Log Message:
[project @ ShellCommand: record RemoteShellCommand args to, to get 'workdir' and 'env' and 'timeout'. Ought to fix #150.]

Original author: warner at lothar.com
Date: 2007-12-15 00:58:16+00:00

Index: shell.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/shell.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- shell.py	4 Jul 2007 05:09:41 -0000	1.6
+++ shell.py	15 Dec 2007 01:02:04 -0000	1.7
@@ -116,6 +116,8 @@
         # everything left over goes to the RemoteShellCommand
         kwargs['workdir'] = workdir # including a copy of 'workdir'
         self.remote_kwargs = kwargs
+        # we need to stash the RemoteShellCommand's args too
+        self.addFactoryArguments(**kwargs)
 
     def setDefaultWorkdir(self, workdir):
         rkw = self.remote_kwargs





More information about the Commits mailing list