commit 2f1c597e8f5cd5b3799920a64a6601aaee3673f2 parent c17f64d236c07e0e390ed7e2dcd5f479569cbce3 Author: ThomasV <thomasv@gitorious> Date: Tue, 31 Mar 2015 10:01:53 +0200 print_error method for plugins Diffstat:
M | lib/plugins.py | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/plugins.py b/lib/plugins.py @@ -82,6 +82,9 @@ class BasePlugin: def fullname(self): return self.name + def print_error(self, msg): + print_error("[%s]"%self.name, msg) + def description(self): return 'undefined'