[Buildbot-commits] buildbot/buildbot/status builder.py, 1.93, 1.94 words.py, 1.47, 1.48

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


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

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

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

Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/builder.py,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- builder.py	11 Dec 2006 09:06:35 -0000	1.93
+++ builder.py	7 Feb 2007 04:25:29 -0000	1.94
@@ -14,10 +14,7 @@
     pickle = cPickle
 except ImportError:
     import pickle
-try:
-    from cStringIO import StringIO
-except ImportError:
-    from StringIO import StringIO
+from cStringIO import StringIO
 
 # sibling imports
 from buildbot import interfaces, util, sourcestamp

Index: words.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/words.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- words.py	6 Sep 2006 00:41:55 -0000	1.47
+++ words.py	7 Feb 2007 04:25:29 -0000	1.48
@@ -6,12 +6,7 @@
 import re, shlex
 
 from twisted.internet import protocol, reactor
-try:
-    # Twisted-2.0
-    from twisted.words.protocols import irc
-except ImportError:
-    # Twisted-1.3
-    from twisted.protocols import irc
+from twisted.words.protocols import irc
 from twisted.python import log, failure
 from twisted.application import internet
 





More information about the Commits mailing list