[Buildbot-commits] buildbot/buildbot/test test_config.py, 1.49, 1.50 test_vc.py, 1.76, 1.77
Brian Warner
warner at users.sourceforge.net
Thu Aug 2 00:07:20 UTC 2007
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/slave bot.py, 1.26, 1.27 interfaces.py, 1.3, 1.4 registry.py, 1.2, 1.3
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/status base.py, 1.6, 1.7 builder.py, 1.97, 1.98 html.py, 1.102, 1.103 tests.py, 1.2, 1.3 words.py, 1.50, 1.51
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8094/buildbot/test
Modified Files:
test_config.py test_vc.py
Log Message:
[project @ bring import statements up-to-date, remove spurious shebang lines]
Original author: warner at lothar.com
Date: 2007-08-01 23:59:37+00:00
Index: test_config.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_config.py,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- test_config.py 1 Aug 2007 22:09:11 -0000 1.49
+++ test_config.py 2 Aug 2007 00:07:18 -0000 1.50
@@ -1,6 +1,5 @@
# -*- test-case-name: buildbot.test.test_config -*-
-from __future__ import generators
import os
from twisted.trial import unittest
Index: test_vc.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_vc.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- test_vc.py 1 Aug 2007 20:31:27 -0000 1.76
+++ test_vc.py 2 Aug 2007 00:07:18 -0000 1.77
@@ -1,9 +1,8 @@
# -*- test-case-name: buildbot.test.test_vc -*-
-from __future__ import generators
-
import sys, os, time, re
from email.Utils import mktime_tz, parsedate_tz
+from cStringIO import StringIO
from twisted.trial import unittest
from twisted.internet import defer, reactor, utils, protocol, error
@@ -53,17 +52,11 @@
# use a predetermined Internet-domain port number, unless we want to go
# all-out: bind the listen socket ourselves and pretend to be inetd.
-try:
- import cStringIO
- StringIO = cStringIO
-except ImportError:
- import StringIO
-
class _PutEverythingGetter(protocol.ProcessProtocol):
def __init__(self, deferred, stdin):
self.deferred = deferred
- self.outBuf = StringIO.StringIO()
- self.errBuf = StringIO.StringIO()
+ self.outBuf = StringIO()
+ self.errBuf = StringIO()
self.outReceived = self.outBuf.write
self.errReceived = self.errBuf.write
self.stdin = stdin
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/slave bot.py, 1.26, 1.27 interfaces.py, 1.3, 1.4 registry.py, 1.2, 1.3
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/status base.py, 1.6, 1.7 builder.py, 1.97, 1.98 html.py, 1.102, 1.103 tests.py, 1.2, 1.3 words.py, 1.50, 1.51
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list