[Buildbot-commits] buildbot/buildbot/steps shell.py,1.11,1.12
Brian Warner
warner at users.sourceforge.net
Thu Mar 20 23:56:47 UTC 2008
Update of /cvsroot/buildbot/buildbot/buildbot/steps
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15833/buildbot/steps
Modified Files:
shell.py
Log Message:
[project @ #115:Rename-_BuildPropertyDictionary-to-_BuildPropertyMap.patch]
Patch by Greg Ward <gerg.ward+buildbot at gmail.com>:
Rename _BuildPropertyDictionary to _BuildPropertyMapping (because
it's not actually a dict).
Original author: dustin at v.igoro.us
Date: 2008-03-13 03:08:58+00:00
Index: shell.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/shell.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- shell.py 20 Mar 2008 23:56:41 -0000 1.11
+++ shell.py 20 Mar 2008 23:56:45 -0000 1.12
@@ -6,7 +6,7 @@
from buildbot.process.buildstep import LoggingBuildStep, RemoteShellCommand
from buildbot.status.builder import SUCCESS, WARNINGS, FAILURE
-class _BuildPropertyDictionary:
+class _BuildPropertyMapping:
def __init__(self, build):
self.build = build
def __getitem__(self, name):
@@ -36,7 +36,7 @@
strings.append(p)
s = self.fmtstring % tuple(strings)
else:
- s = self.fmtstring % _BuildPropertyDictionary(build)
+ s = self.fmtstring % _BuildPropertyMapping(build)
return s
def render(s, build):
More information about the Commits
mailing list