From: Mark Hymers Date: Sat, 2 May 2009 14:37:55 +0000 (+0100) Subject: export DBConn X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a9e44d5d3a064ec00762102dd3b8f56d398b07cf;p=dak.git export DBConn Signed-off-by: Mark Hymers --- 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):