diff sat_pubsub/tap_http.py @ 234:51af2ed8bd50

replaced idavoll imports by sat_pubsub imports
author Goffi <goffi@goffi.org>
date Thu, 17 May 2012 01:53:12 +0200
parents 564ae55219e1
children 64f780413b82
line wrap: on
line diff
--- a/sat_pubsub/tap_http.py	Thu May 17 01:48:39 2012 +0200
+++ b/sat_pubsub/tap_http.py	Thu May 17 01:53:12 2012 +0200
@@ -58,8 +58,8 @@
 from twisted.web2 import channel, log, resource, server
 from twisted.web2.tap import Web2Service
 
-from idavoll import gateway, tap
-from idavoll.gateway import RemoteSubscriptionService
+from sat_pubsub import gateway, tap
+from sat_pubsub.gateway import RemoteSubscriptionService
 
 class Options(tap.Options):
     optParameters = [
@@ -91,10 +91,10 @@
     # Set up XMPP service for subscribing to remote nodes
 
     if config['backend'] == 'pgsql':
-        from idavoll.pgsql_storage import GatewayStorage
+        from sat_pubsub.pgsql_storage import GatewayStorage
         gst = GatewayStorage(bs.storage.dbpool)
     elif config['backend'] == 'memory':
-        from idavoll.memory_storage import GatewayStorage
+        from sat_pubsub.memory_storage import GatewayStorage
         gst = GatewayStorage()
 
     ss = RemoteSubscriptionService(config['jid'], gst)