If all you want is to be notified of the whitelist file that was used, which I concede is valuable information, then I would propose the following change. Notice how I use logging.info instead of logging.debug because the whitelist file being read is oddly more important than just printing the command line options which may contain the same information:
If all you want is to be notified of the whitelist file that was used, which I concede is valuable information, then I would propose the following change. Notice how I use logging.info instead of logging.debug because the whitelist file being read is oddly more important than just printing the command line options which may contain the same information:
=== modified file 'plugins/ jobs_info. py' jobs_info. py 2012-02-15 16:31:04 +0000 jobs_info. py 2012-02-29 17:58:46 +0000
super( JobsInfo, self).register( manager)
--- plugins/
+++ plugins/
@@ -71,7 +71,12 @@
def register(self, manager):
+ if self.whitelist_ file: info("Reading whitelist patterns from %s" % self.whitelist_ file)
self. whitelist_ patterns = self.get_ patterns( self.whitelist, self.whitelist_ file) file: info("Reading blacklist patterns from %s" % self.blacklist_ file)
self. blacklist_ patterns = self.get_ patterns( self.blacklist, self.blacklist_ file)
+ logging.
+
+ if self.blacklist_
+ logging.