[cig-commits] r18137 - cs/buildbot/trunk/buildbot/process

brad at geodynamics.org brad at geodynamics.org
Thu Mar 24 14:02:50 PDT 2011


Author: brad
Date: 2011-03-24 14:02:50 -0700 (Thu, 24 Mar 2011)
New Revision: 18137

Modified:
   cs/buildbot/trunk/buildbot/process/builder.py
Log:
Eliminated variable 'with' due to clash with reserved word.

Modified: cs/buildbot/trunk/buildbot/process/builder.py
===================================================================
--- cs/buildbot/trunk/buildbot/process/builder.py	2011-03-24 20:55:20 UTC (rev 18136)
+++ cs/buildbot/trunk/buildbot/process/builder.py	2011-03-24 21:02:50 UTC (rev 18137)
@@ -382,13 +382,13 @@
 
         return # all done
 
-    def fireTestEvent(self, name, with=None):
-        if with is None:
-            with = self
+    def fireTestEvent(self, name, withV=None):
+        if withV is None:
+            withV = self
         watchers = self.watchers[name]
         self.watchers[name] = []
         for w in watchers:
-            reactor.callLater(0, w.callback, with)
+            reactor.callLater(0, w.callback, withV)
 
     def attached(self, slave, remote, commands):
         """This is invoked by the BotPerspective when the self.slavename bot



More information about the CIG-COMMITS mailing list