[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


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()





More information about the Commits mailing list