diff options
author | 2012-04-22 19:56:17 +0200 | |
---|---|---|
committer | 2012-04-22 19:56:17 +0200 | |
commit | b40b32ee05f611323a7827fad2a25fa0a28dcb24 (patch) | |
tree | 60f7f00e4be25942230668f43cb11a30b6fd10e6 /module/threads/ThreadManager.py | |
parent | Fixed spelling in the source (diff) | |
download | pyload-b40b32ee05f611323a7827fad2a25fa0a28dcb24.tar.xz |
a huge pile of spelling fixes
Diffstat (limited to 'module/threads/ThreadManager.py')
-rw-r--r-- | module/threads/ThreadManager.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/threads/ThreadManager.py b/module/threads/ThreadManager.py index b3a1e8c6c..c3da13430 100644 --- a/module/threads/ThreadManager.py +++ b/module/threads/ThreadManager.py @@ -82,7 +82,7 @@ class ThreadManager: self.threads.append(thread) def createInfoThread(self, data, pid): - """ start a thread whichs fetches online status and other infos """ + """ start a thread which fetches online status and other info's """ self.timestamp = time() + 5 * 60 if data: InfoThread(self, data, pid) @@ -134,7 +134,7 @@ class ThreadManager: def work(self): - """run all task which have to be done (this is for repetivive call by core)""" + """run all task which have to be done (this is for repetetive call by core)""" try: self.tryReconnect() except Exception, e: @@ -231,7 +231,7 @@ class ThreadManager: return ip def checkThreadCount(self): - """checks if there are need for increasing or reducing thread count""" + """checks if there is a need for increasing or reducing thread count""" if len(self.threads) == self.core.config.get("download", "max_downloads"): return True @@ -244,7 +244,7 @@ class ThreadManager: def cleanPycurl(self): - """ make a global curl cleanup (currently ununused) """ + """ make a global curl cleanup (currently unused) """ if self.processingIds(): return False pycurl.global_cleanup() @@ -255,7 +255,7 @@ class ThreadManager: def assignJob(self): - """assing a job to a thread if possible""" + """assign a job to a thread if possible""" if self.pause or not self.core.api.isTimeDownload(): return |