[Buildbot-commits] buildbot/buildbot/scripts startup.py,1.4,1.5

Brian Warner warner at users.sourceforge.net
Wed Aug 1 20:31:55 UTC 2007


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

Modified Files:
	startup.py 
Log Message:
[project @ scripts/startup.py: change import slightly to hush pyflakes. We are now pyflakes-clean.]

Original author: warner at lothar.com
Date: 2007-07-31 22:02:56+00:00

Index: startup.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/startup.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- startup.py	7 Feb 2007 04:25:29 -0000	1.4
+++ startup.py	1 Aug 2007 20:31:53 -0000	1.5
@@ -107,8 +107,10 @@
 
         # this is copied from bin/twistd. twisted-2.0.0 uses _twistw.
         if platformType == "win32":
-            from twisted.scripts._twistw import run
+            from twisted.scripts import _twistw
+            run = _twistw.run
         else:
-            from twisted.scripts.twistd import run
+            from twisted.scripts import twistd
+            run = twistd.run
         run()
 





More information about the Commits mailing list