[Buildbot-commits] buildbot/buildbot/process step.py,1.87,1.88
Brian Warner
warner at users.sourceforge.net
Tue Jun 6 19:01:14 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17948/buildbot/process
Modified Files:
step.py
Log Message:
[project @ make WithProperties inherit from ComparableMixin, to avoid spurious config changes]
Original author: warner at lothar.com
Date: 2006-06-06 18:58:46
Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- step.py 2 Jun 2006 03:32:23 -0000 1.87
+++ step.py 6 Jun 2006 19:01:12 -0000 1.88
@@ -9,6 +9,7 @@
from twisted.python.failure import Failure
from twisted.web.util import formatFailure
+from buildbot import util
from buildbot.interfaces import BuildSlaveTooOldError
from buildbot.util import now
from buildbot.status import progress, builder
@@ -852,11 +853,13 @@
p = ""
return p
-class WithProperties:
+class WithProperties(util.ComparableMixin):
"""This is a marker class, used in ShellCommand's command= argument to
indicate that we want to interpolate a build property.
"""
+ compare_attrs = ('fmtstring', 'args')
+
def __init__(self, fmtstring, *args):
self.fmtstring = fmtstring
self.args = args
More information about the Commits
mailing list