[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
Brian Warner
warner at users.sourceforge.net
Wed Sep 6 00:41:57 UTC 2006
- Previous message (by thread): [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
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/test test_buildreq.py, 1.4, 1.5 test_changes.py, 1.8, 1.9 test_config.py, 1.36, 1.37 test_control.py, 1.10, 1.11 test_dependencies.py, 1.3, 1.4 test_locks.py, 1.5, 1.6 test_mailparse.py, 1.4, 1.5 test_p4poller.py, 1.2, 1.3 test_run.py, 1.38, 1.39 test_runner.py, 1.12, 1.13 test_shell.py, 1.3, 1.4 test_slavecommand.py, 1.22, 1.23 test_status.py, 1.31, 1.32 test_steps.py, 1.25, 1.26 test_vc.py, 1.66, 1.67 test_web.py, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/buildbot/buildbot/buildbot/changes
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8799/buildbot/changes
Modified Files:
base.py changes.py dnotify.py mail.py maildir.py pb.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/changes/base.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- base.py 17 May 2005 10:14:09 -0000 1.1
+++ base.py 6 Sep 2006 00:41:54 -0000 1.2
@@ -1,7 +1,6 @@
#! /usr/bin/python
from twisted.application import service
-from twisted.python import components
from buildbot.twcompat import implements
from buildbot.interfaces import IChangeSource
Index: changes.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/changes.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- changes.py 5 Nov 2005 22:52:59 -0000 1.27
+++ changes.py 6 Sep 2006 00:41:54 -0000 1.28
@@ -1,17 +1,16 @@
#! /usr/bin/python
from __future__ import generators
-import string, sys, os, os.path, time, types
+import sys, os, time
try:
- import cPickle as pickle
+ import cPickle
+ pickle = cPickle
except ImportError:
import pickle
-from twisted.python import log, components
+from twisted.python import log
from twisted.internet import defer
-from twisted.spread import pb
from twisted.application import service
-from twisted.cred import portal
from twisted.web import html
from buildbot import interfaces, util
Index: dnotify.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/dnotify.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dnotify.py 4 May 2005 07:04:18 -0000 1.3
+++ dnotify.py 6 Sep 2006 00:41:54 -0000 1.4
@@ -71,7 +71,6 @@
def test_dnotify1():
d = DNotify(".")
- import time
while 1:
signal.pause()
@@ -93,7 +92,6 @@
d1.callback = fire1
def fire2(): print "foo/ changed!"
d2 = DNotify("foo", fire2)
- import time
while 1:
signal.pause()
Index: mail.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/mail.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- mail.py 19 Jul 2005 19:49:36 -0000 1.20
+++ mail.py 6 Sep 2006 00:41:54 -0000 1.21
@@ -3,7 +3,7 @@
"""
Parse various kinds of 'CVS notify' email.
"""
-import os, os.path, re
+import os, re
from rfc822 import Message
from buildbot import util
Index: maildir.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/maildir.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- maildir.py 2 Oct 2005 23:25:10 -0000 1.7
+++ maildir.py 6 Sep 2006 00:41:54 -0000 1.8
@@ -16,7 +16,7 @@
have_dnotify = 1
except:
have_dnotify = 0
-import os, os.path
+import os
class Maildir:
"""This is a class which watches a maildir for new messages. Once
Index: pb.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/pb.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- pb.py 21 Aug 2006 03:38:04 -0000 1.11
+++ pb.py 6 Sep 2006 00:41:54 -0000 1.12
@@ -1,8 +1,5 @@
# -*- test-case-name: buildbot.test.test_changes -*-
-import os, os.path
-
-from twisted.application import service
from twisted.python import log
from buildbot.pbutil import NewCredPerspective
- Previous message (by thread): [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
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/test test_buildreq.py, 1.4, 1.5 test_changes.py, 1.8, 1.9 test_config.py, 1.36, 1.37 test_control.py, 1.10, 1.11 test_dependencies.py, 1.3, 1.4 test_locks.py, 1.5, 1.6 test_mailparse.py, 1.4, 1.5 test_p4poller.py, 1.2, 1.3 test_run.py, 1.38, 1.39 test_runner.py, 1.12, 1.13 test_shell.py, 1.3, 1.4 test_slavecommand.py, 1.22, 1.23 test_status.py, 1.31, 1.32 test_steps.py, 1.25, 1.26 test_vc.py, 1.66, 1.67 test_web.py, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list