dbapi.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 7056 51f88f13d6f3
child 7085 36e91d19188b
--- a/dbapi.py	Fri Mar 11 09:46:45 2011 +0100
+++ b/dbapi.py	Wed Mar 16 09:37:46 2011 +0100
@@ -376,6 +376,9 @@
     def del_session_data(self, key):
         self.session.data.pop(key, None)
 
+    # these are overridden by set_log_methods below
+    # only defining here to prevent pylint from complaining
+    info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None
 
 set_log_methods(DBAPIRequest, getLogger('cubicweb.dbapi'))