server/session.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 7054 c8f12ab250b7
child 7118 e094b3d4eb95
--- a/server/session.py	Fri Mar 11 09:46:45 2011 +0100
+++ b/server/session.py	Wed Mar 16 09:37:46 2011 +0100
@@ -1032,6 +1032,10 @@
         """return a result set for the given eid"""
         return self.entity_from_eid(eid)
 
+    # 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
+
 
 class InternalSession(Session):
     """special session created internaly by the repository"""