summaryrefslogtreecommitdiffstats
path: root/module/threads/BaseThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-09-24 15:41:13 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-09-24 15:41:13 +0200
commitfb145cf68c0178b9551eaae3213ec01be112bf76 (patch)
tree61d8dd381a831da4c34359b5e471e11d687f4746 /module/threads/BaseThread.py
parentadded some animations, code for show/hiding items (diff)
downloadpyload-fb145cf68c0178b9551eaae3213ec01be112bf76.tar.xz
fixed some things, so downloads works again
Diffstat (limited to 'module/threads/BaseThread.py')
-rw-r--r--module/threads/BaseThread.py12
1 files changed, 7 insertions, 5 deletions
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()