replace task bug

This commit is contained in:
David Rose 2008-11-12 22:58:14 +00:00
parent 7b7b973a7a
commit 2e01bf163f

View File

@ -516,7 +516,7 @@ class TaskManager:
def __tryReplaceTaskMethod(self, task, oldMethod, newFunction):
if not isinstance(task, PythonTask):
return
return 0
method = task.getFunction()
if (type(method) == types.MethodType):