From d1872403e52b6438b8e3d05415cc8883bf8bb51b Mon Sep 17 00:00:00 2001 From: Mark Huang <mlhuang@cs.princeton.edu> Date: Fri, 20 Oct 2006 17:53:42 +0000 Subject: [PATCH] - hard-code "planetlab4" as the DB name for now --- PLC/PostgreSQL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 <mlhuang@cs.princeton.edu> # 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) = \ -- 2.47.0