[Buildbot-commits] buildbot/buildbot/test test_status.py, 1.37, 1.38
Brian Warner
warner at users.sourceforge.net
Mon Dec 11 09:06:38 UTC 2006
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/process base.py, 1.72, 1.73 builder.py, 1.40, 1.41 buildstep.py, 1.3, 1.4
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/status base.py, 1.5, 1.6 builder.py, 1.92, 1.93 client.py, 1.28, 1.29 html.py, 1.93, 1.94 mail.py, 1.30, 1.31 tinderbox.py, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19328/buildbot/test
Modified Files:
test_status.py
Log Message:
[project @ get implements() from zope.interface directly, not from twcompat]
Original author: warner at lothar.com
Date: 2006-12-11 08:53:40
Index: test_status.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_status.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- test_status.py 11 Dec 2006 08:40:17 -0000 1.37
+++ test_status.py 11 Dec 2006 09:06:36 -0000 1.38
@@ -2,13 +2,13 @@
import email, os
+from zope.interface import implements
from twisted.internet import defer, reactor
from twisted.trial import unittest
from buildbot import interfaces
from buildbot.sourcestamp import SourceStamp
from buildbot.process.base import BuildRequest
-from buildbot.twcompat import implements
from buildbot.status import builder, base
mail = None
@@ -109,10 +109,7 @@
return self.testlogs
class MyLookup:
- if implements:
- implements(interfaces.IEmailLookup)
- else:
- __implements__ = interfaces.IEmailLookup,
+ implements(interfaces.IEmailLookup)
def getAddress(self, user):
d = defer.Deferred()
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/process base.py, 1.72, 1.73 builder.py, 1.40, 1.41 buildstep.py, 1.3, 1.4
- Next message (by thread): [Buildbot-commits] buildbot/buildbot/status base.py, 1.5, 1.6 builder.py, 1.92, 1.93 client.py, 1.28, 1.29 html.py, 1.93, 1.94 mail.py, 1.30, 1.31 tinderbox.py, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list