From fb145cf68c0178b9551eaae3213ec01be112bf76 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 24 Sep 2012 15:41:13 +0200 Subject: fixed some things, so downloads works again --- module/threads/BaseThread.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'module/threads/BaseThread.py') diff --git a/module/threads/BaseThread.py b/module/threads/BaseThread.py index 7a0ee5ee4..3e27eec96 100644 --- a/module/threads/BaseThread.py +++ b/module/threads/BaseThread.py @@ -24,6 +24,13 @@ class BaseThread(Thread): self.core = manager.core self.log = manager.core.log + def getProgress(self): + """ retrieves progress information about the current running task + + :return: :class:`ProgressInfo` + """ + + # Debug Stuff def writeDebugReport(self, name, pyfile=None, plugin=None): """ writes a debug report to disk """ @@ -129,8 +136,3 @@ class BaseThread(Thread): def getSystemDump(self): return "" - - def clean(self, pyfile): - """ set thread inactive and release pyfile """ - self.active = False - pyfile.release() -- cgit v1.2.3