]> git.etc.gen.nz Git - whoisi.git/commitdiff
Get the module name right.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 22 Jun 2009 21:29:23 +0000 (09:29 +1200)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Mon, 22 Jun 2009 21:29:23 +0000 (09:29 +1200)
controller-service
publisher-service

index 7e0bf505ea08a6a317cedccd74ba5a94c8a24fb9..ec7159af82f4fb3dde1dbfadf34a91df27562431 100755 (executable)
@@ -37,7 +37,7 @@ import services.config as config
 
 class Controller(pb.Root):
     def service_setup(self):
-        self.connection_type = "pyscopg2"
+        self.connection_type = "psycopg2"
         self.connection_dict = dict(cp_reconnect=True,
                                     host=config.get("db", "host"),
                                     user=config.get("db", "user"),
index f41f5772be5ea741f328d194c0dca9be10a0f511..e1afb2564c0ee1af2b76a32adc2c3979e9c80658 100755 (executable)
@@ -81,7 +81,7 @@ dcm = None
 
 def db_service_setup():
     global dcm
-    connection_type = "pyscopg2"
+    connection_type = "psycopg2"
     connection_dict = dict(cp_reconnect=True,
                            host=config.get("db", "host"),
                            username=config.get("db", "user"),