From 0cb521d21e24df5ffcf0f4db057a9294de518f17 Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Thu, 10 Apr 2008 15:32:06 +0200 Subject: When plugin throws an exception during plugin discovery, ignore it (just print error message) --- pyfirstaidkit/reporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyfirstaidkit/reporting.py') diff --git a/pyfirstaidkit/reporting.py b/pyfirstaidkit/reporting.py index 1ee0e6b..1554b74 100644 --- a/pyfirstaidkit/reporting.py +++ b/pyfirstaidkit/reporting.py @@ -97,7 +97,7 @@ class Reports(object): def end(self): return self.put(None, FIRSTAIDKIT, None, END, importance = 1000) - def error(self, message, level, origin, action): + def error(self, message, level, origin, action = INFO): Logger.error(origin.name+": "+message) return self.put(message, level, origin, action, importance = logging.ERROR) -- cgit