[Buildbot-commits] buildbot/buildbot/status base.py, 1.4, 1.5 builder.py, 1.85, 1.86 client.py, 1.26, 1.27 html.py, 1.89, 1.90 mail.py, 1.26, 1.27 words.py, 1.46, 1.47
Brian Warner
warner at users.sourceforge.net
Wed Sep 6 00:41:57 UTC 2006
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/process base.py, 1.69, 1.70 builder.py, 1.36, 1.37 step.py, 1.101, 1.102 step_twisted.py, 1.83, 1.84 step_twisted2.py, 1.3, 1.4
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/changes base.py, 1.1, 1.2 changes.py, 1.27, 1.28 dnotify.py, 1.3, 1.4 mail.py, 1.20, 1.21 maildir.py, 1.7, 1.8 pb.py, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8799/buildbot/status
Modified Files:
base.py builder.py client.py html.py mail.py words.py
Log Message:
[project @ remove a lot of unused imports, marked by pyflakes]
Original author: warner at lothar.com
Date: 2006-09-06 00:35:06
Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/base.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- base.py 7 Oct 2005 18:45:42 -0000 1.4
+++ base.py 6 Sep 2006 00:41:55 -0000 1.5
@@ -1,14 +1,7 @@
#! /usr/bin/python
from twisted.application import service
-from twisted.python import components
-
-try:
- from zope.interface import implements
-except ImportError:
- implements = None
-if not hasattr(components, "interface"):
- implements = None # nope
+from buildbot.twcompat import implements
from buildbot.interfaces import IStatusReceiver
from buildbot import util, pbutil
Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/builder.py,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- builder.py 20 Aug 2006 22:25:35 -0000 1.85
+++ builder.py 6 Sep 2006 00:41:55 -0000 1.86
@@ -7,9 +7,10 @@
from twisted.internet import reactor, defer
from twisted.protocols import basic
-import time, os, os.path, shutil, sys, re, urllib
+import os, shutil, sys, re, urllib
try:
- import cPickle as pickle
+ import cPickle
+ pickle = cPickle
except ImportError:
import pickle
Index: client.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/client.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- client.py 8 Jun 2006 21:42:34 -0000 1.26
+++ client.py 6 Sep 2006 00:41:55 -0000 1.27
@@ -2,12 +2,11 @@
from twisted.spread import pb
from twisted.python import log, components
-from twisted.python.failure import Failure
-from twisted.internet import defer, reactor
-from twisted.application import service, strports
+from twisted.internet import reactor
+from twisted.application import strports
from twisted.cred import portal, checkers
-from buildbot import util, interfaces
+from buildbot import interfaces
from buildbot.twcompat import Interface, implements
from buildbot.status import builder, base
from buildbot.changes import changes
Index: html.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/html.py,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- html.py 20 Aug 2006 22:39:47 -0000 1.89
+++ html.py 6 Sep 2006 00:41:55 -0000 1.90
@@ -3,7 +3,6 @@
from __future__ import generators
from twisted.python import log, components
-from twisted.python.util import sibpath
import urllib, re
from twisted.internet import defer, reactor
Index: mail.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/mail.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- mail.py 25 Aug 2006 21:54:51 -0000 1.26
+++ mail.py 6 Sep 2006 00:41:55 -0000 1.27
@@ -13,7 +13,6 @@
import urllib
from twisted.internet import defer
-from twisted.application import service
try:
from twisted.mail.smtp import sendmail # Twisted-2.0
except ImportError:
Index: words.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/words.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- words.py 13 Mar 2006 09:29:57 -0000 1.46
+++ words.py 6 Sep 2006 00:41:55 -0000 1.47
@@ -3,7 +3,7 @@
# code to deliver build status through twisted.words (instant messaging
# protocols: irc, etc)
-import traceback, StringIO, re, shlex
+import re, shlex
from twisted.internet import protocol, reactor
try:
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/process base.py, 1.69, 1.70 builder.py, 1.36, 1.37 step.py, 1.101, 1.102 step_twisted.py, 1.83, 1.84 step_twisted2.py, 1.3, 1.4
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/changes base.py, 1.1, 1.2 changes.py, 1.27, 1.28 dnotify.py, 1.3, 1.4 mail.py, 1.20, 1.21 maildir.py, 1.7, 1.8 pb.py, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list