From: Andrew Ruthven Date: Mon, 22 Jun 2009 21:29:23 +0000 (+1200) Subject: Get the module name right. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a400e56e85110b806cca415eca9aed5cb5552f8c;p=whoisi.git Get the module name right. --- diff --git a/controller-service b/controller-service index 7e0bf50..ec7159a 100755 --- a/controller-service +++ b/controller-service @@ -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"), diff --git a/publisher-service b/publisher-service index f41f577..e1afb25 100755 --- a/publisher-service +++ b/publisher-service @@ -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"),