From: Razvan Deaconescu Date: Fri, 19 Aug 2011 09:35:02 +0000 (+0300) Subject: ppf: Add get_connection() method to access.py. X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=3636a7ccf16c6ee420eea9f3acbd10f3abaaf192;p=cs-p2p-next.git ppf: Add get_connection() method to access.py. --- diff --git a/ppf/db/access.py b/ppf/db/access.py index 24aa480..ef0dee9 100644 --- a/ppf/db/access.py +++ b/ppf/db/access.py @@ -29,6 +29,9 @@ class DatabaseAccess: def disconnect(self): pass + def get_connection(self): + return self.conn + def get_cursor(self): return self.cursor