diff idavoll/idavoll.py @ 26:c77fdb7ef161

Follow move of memory backend.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 17 Oct 2004 13:53:41 +0000
parents 0861c0f2e3b5
children ddc08757ec1d
line wrap: on
line diff
--- a/idavoll/idavoll.py	Sun Oct 17 13:53:01 2004 +0000
+++ b/idavoll/idavoll.py	Sun Oct 17 13:53:41 2004 +0000
@@ -1,7 +1,7 @@
 from twisted.protocols.jabber import component
 from twisted.application import service
 from twisted.python import components
-import backend
+import memory_backend
 import pubsub
 import xmpp_error
 
@@ -83,13 +83,13 @@
 def makeService(config):
 	serviceCollection = service.MultiService()
 
-	pss = backend.MemoryBackendService()
+	b = memory_backend.MemoryBackendService()
 
 	# set up Jabber Component
 	c = component.buildServiceManager(config["jid"], config["secret"],
 			("tcp:%s:%s" % (config["rhost"], config["rport"])))
 
-	s = component.IService(pss)
+	s = component.IService(b)
 	s.jid = config["jid"]
 	s.setServiceParent(c)