diff idavoll/pubsub.py @ 105:8d8946e67fcb

Move to Twisted 2.0.
author Ralph Meijer <ralphm@ik.nu>
date Fri, 08 Apr 2005 10:01:40 +0000
parents d42327839888
children 7043839982ba
line wrap: on
line diff
--- a/idavoll/pubsub.py	Fri Apr 08 09:54:41 2005 +0000
+++ b/idavoll/pubsub.py	Fri Apr 08 10:01:40 2005 +0000
@@ -1,7 +1,8 @@
-from twisted.protocols.jabber import component,jid
+from twisted.words.protocols.jabber import component,jid
 from twisted.xish import utility, domish
 from twisted.python import components
 from twisted.internet import defer
+from zope.interface import implements
 
 import backend
 import xmpp_error
@@ -68,7 +69,7 @@
 
 class Service(component.Service):
 
-    __implements__ = component.IService
+    implements(component.IService)
 
     def __init__(self, backend):
         self.backend = backend