ppf: Add get_connection() method to access.py.
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 19 Aug 2011 09:35:02 +0000 (12:35 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 19 Aug 2011 09:35:02 +0000 (12:35 +0300)
ppf/db/access.py

index 24aa480..ef0dee9 100644 (file)
@@ -29,6 +29,9 @@ class DatabaseAccess:
     def disconnect(self):
         pass
 
+    def get_connection(self):
+        return self.conn
+
     def get_cursor(self):
         return self.cursor