From a6bf849c4db2fdcd76054dcb82e1111576e1e723 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 19 Aug 2010 23:46:59 +0200 Subject: debug report + deposit fix --- module/PluginThread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/PluginThread.py') diff --git a/module/PluginThread.py b/module/PluginThread.py index 8b8ab4025..db8804db5 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -73,7 +73,7 @@ class PluginThread(Thread): for name in dir(pyfile.plugin): attr = getattr(pyfile.plugin, name) - if not name.endswith("__") and type(attr) not in (InstanceType,MethodType): + if not name.endswith("__") and type(attr) != MethodType: dump += "\t%20s = " % name dump += pformat(attr) +"\n" @@ -81,7 +81,7 @@ class PluginThread(Thread): for name in dir(pyfile): attr = getattr(pyfile, name) - if not name.endswith("__") and type(attr) not in (InstanceType,MethodType): + if not name.endswith("__") and type(attr) != MethodType: dump += "\t%20s = " % name dump += pformat(attr) +"\n" -- cgit v1.2.3