[Buildbot-commits] buildbot/buildbot master.py,1.53,1.54
Brian Warner
warner at users.sourceforge.net
Thu Oct 14 16:47:36 UTC 2004
Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3733/buildbot
Modified Files:
master.py
Log Message:
* buildbot/master.py (BuildMaster.startService): don't register a
SIGHUP handler if the signal module has no SIGHUP attribute.
Apparently win32 does this.
* buildbot/scripts/runner.py (start): add --reactor=win32 on win32
* buildbot/test/test_web.py (WebTest.test_webPathname): skip the
test if the reactor can't offer UNIX sockets
Index: master.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/master.py,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- master.py 30 Sep 2004 23:03:53 -0000 1.53
+++ master.py 14 Oct 2004 16:47:33 -0000 1.54
@@ -567,7 +567,7 @@
# this quickly.
self.loadTheConfigFile()
self.readConfig = True
- if signal:
+ if signal and hasattr(signal, "SIGHUP"):
signal.signal(signal.SIGHUP, self._handleSIGHUP)
for b in self.botmaster.builders.values():
b.builder_status.addPointEvent(["master", "started"])
More information about the Commits
mailing list