dbapi.py
branchstable
changeset 7085 36e91d19188b
parent 7061 bb2080547722
parent 7083 b8e35cde46e9
child 7134 01544b6d98fa
--- a/dbapi.py	Tue Mar 15 21:36:06 2011 +0100
+++ b/dbapi.py	Wed Mar 16 09:40:56 2011 +0100
@@ -375,6 +375,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'))