From 3636a7ccf16c6ee420eea9f3acbd10f3abaaf192 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Fri, 19 Aug 2011 12:35:02 +0300 Subject: [PATCH] ppf: Add get_connection() method to access.py. --- ppf/db/access.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.20.1