[Buildbot-commits] buildbot/buildbot/changes p4poller.py,1.7,1.8

Brian Warner warner at users.sourceforge.net
Sat Sep 30 22:36:01 UTC 2006


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

Modified Files:
	p4poller.py 
Log Message:
[project @ changes/p4poller.py: make some minor stylistic changes]

Original author: warner at lothar.com
Date: 2006-09-24 01:12:32

Index: p4poller.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/p4poller.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- p4poller.py	17 Sep 2006 20:49:31 -0000	1.7
+++ p4poller.py	30 Sep 2006 22:35:59 -0000	1.8
@@ -40,7 +40,6 @@
     parent = None # filled in when we're added
     last_change = None
     loop = None
-    volatile = ['loop']
     working = False
 
     def __init__(self, p4port=None, p4user=None, p4passwd=None,
@@ -75,9 +74,9 @@
         self.split_file = split_file
         self.pollinterval = pollinterval
         self.histmax = histmax
+        self.loop = LoopingCall(self.checkp4)
 
     def startService(self):
-        self.loop = LoopingCall(self.checkp4)
         base.ChangeSource.startService(self)
 
         # Don't start the loop just yet because the reactor isn't running.





More information about the Commits mailing list