tprint_error method for plugins - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2f1c597e8f5cd5b3799920a64a6601aaee3673f2 DIR parent c17f64d236c07e0e390ed7e2dcd5f479569cbce3 HTML 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(-) --- DIR diff --git a/lib/plugins.py b/lib/plugins.py t@@ -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'