vregistry.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 6872 23554151486c
child 7272 771f594c12a2
--- a/vregistry.py	Fri Mar 11 09:46:45 2011 +0100
+++ b/vregistry.py	Wed Mar 16 09:37:46 2011 +0100
@@ -237,6 +237,10 @@
 
     select_best = deprecated('[3.6] select_best is now private')(_select_best)
 
+    # 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 VRegistry(dict):
     """class responsible to register, propose and select the various
@@ -517,6 +521,9 @@
                 raise
             self.exception('appobject %s registration failed: %s',
                            appobjectcls, ex)
+    # 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
 
 
 # init logging