From: Mark Huang Date: Fri, 20 Oct 2006 17:53:42 +0000 (+0000) Subject: - hard-code "planetlab4" as the DB name for now X-Git-Tag: pycurl-7_13_1~512 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d1872403e52b6438b8e3d05415cc8883bf8bb51b;p=plcapi.git - hard-code "planetlab4" as the DB name for now --- diff --git a/PLC/PostgreSQL.py b/PLC/PostgreSQL.py index 069d944f..33fe0748 100644 --- a/PLC/PostgreSQL.py +++ b/PLC/PostgreSQL.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: PostgreSQL.py,v 1.4 2006/10/13 20:00:37 mlhuang Exp $ +# $Id: PostgreSQL.py,v 1.5 2006/10/16 21:56:11 mlhuang Exp $ # import pgdb @@ -25,7 +25,7 @@ class PostgreSQL: self.db = pgdb.connect(user = api.config.PLC_DB_USER, password = api.config.PLC_DB_PASSWORD, host = "%s:%d" % (api.config.PLC_DB_HOST, api.config.PLC_DB_PORT), - database = api.config.PLC_DB_NAME) + database = "planetlab4") # XXX api.config.PLC_DB_NAME) self.cursor = self.db.cursor() (self.rowcount, self.description, self.lastrowid) = \