[Buildbot-commits] buildbot/buildbot/process builder.py,1.42,1.43

Brian Warner warner at users.sourceforge.net
Tue Jan 23 08:01:47 UTC 2007


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

Modified Files:
	builder.py 
Log Message:
[project @ buildbot/process/builder.py: don't use 'with', since it will be a reserved word in python2.6]

Original author: warner at lothar.com
Date: 2007-01-23 07:57:27

Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/builder.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- builder.py	12 Dec 2006 03:24:03 -0000	1.42
+++ builder.py	23 Jan 2007 08:01:45 -0000	1.43
@@ -380,13 +380,13 @@
 
         return # all done
 
-    def fireTestEvent(self, name, with=None):
-        if with is None:
-            with = self
+    def fireTestEvent(self, name, fire_with=None):
+        if fire_with is None:
+            fire_with = self
         watchers = self.watchers[name]
         self.watchers[name] = []
         for w in watchers:
-            reactor.callLater(0, w.callback, with)
+            reactor.callLater(0, w.callback, fire_with)
 
     def attached(self, slave, remote, commands):
         """This is invoked by the BotPerspective when the self.slavename bot





More information about the Commits mailing list