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

Brian Warner warner at users.sourceforge.net
Wed Feb 7 04:25:31 UTC 2007


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

Modified Files:
	startup.py 
Log Message:
[project @ hush most pyflakes warnings]

Original author: warner at lothar.com
Date: 2007-02-07 04:24:33

Index: startup.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/startup.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- startup.py	9 Dec 2006 09:19:48 -0000	1.3
+++ startup.py	7 Feb 2007 04:25:29 -0000	1.4
@@ -105,13 +105,9 @@
             argv.append("--reactor=win32")
         sys.argv = argv
 
-        # this is copied from bin/twistd. twisted-1.3.0 uses twistw, while
-        # twisted-2.0.0 uses _twistw.
+        # this is copied from bin/twistd. twisted-2.0.0 uses _twistw.
         if platformType == "win32":
-            try:
-                from twisted.scripts._twistw import run
-            except ImportError:
-                from twisted.scripts.twistw import run
+            from twisted.scripts._twistw import run
         else:
             from twisted.scripts.twistd import run
         run()





More information about the Commits mailing list