server/sources/__init__.py
branchstable
changeset 7879 9aae456abab5
parent 7815 2a164a9cf81c
child 7922 d307c3817782
--- a/server/sources/__init__.py	Tue Sep 27 16:04:30 2011 +0200
+++ b/server/sources/__init__.py	Wed Sep 28 09:27:42 2011 +0200
@@ -118,6 +118,10 @@
     # source configuration options
     options = ()
 
+    # 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
+
     def __init__(self, repo, source_config, eid=None):
         self.repo = repo
         self.set_schema(repo.schema)