From a9e44d5d3a064ec00762102dd3b8f56d398b07cf Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 2 May 2009 15:37:55 +0100 Subject: [PATCH] export DBConn Signed-off-by: Mark Hymers --- daklib/dbconn.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index f1988ca6..ef6f639a 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -894,10 +894,7 @@ class DBConn(Singleton): def session(self): return self.db_smaker() - def prepare(self,name,statement): - if not self.prepared_statements.has_key(name): - pgc.execute(statement) - self.prepared_statements[name] = statement +__all__.append('DBConn') def get_location_id(self, location, component, archive): -- 2.39.5