diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 18:07:46 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 18:07:46 +0200 |
commit | 3eec058b29cc37af8ff116926d4273b377c7471b (patch) | |
tree | 012864e3d7fce39e419dd70aa1cbabb347231b82 /pyload/manager | |
parent | [config] Use get method instead dict access (diff) | |
download | pyload-3eec058b29cc37af8ff116926d4273b377c7471b.tar.xz |
Fix comments
Diffstat (limited to 'pyload/manager')
-rw-r--r-- | pyload/manager/Account.py | 4 | ||||
-rw-r--r-- | pyload/manager/Captcha.py | 2 | ||||
-rw-r--r-- | pyload/manager/thread/Plugin.py | 6 | ||||
-rw-r--r-- | pyload/manager/thread/Server.py | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/pyload/manager/Account.py b/pyload/manager/Account.py index ea6f15e87..4e4a82aed 100644 --- a/pyload/manager/Account.py +++ b/pyload/manager/Account.py @@ -23,11 +23,11 @@ class AccountManager(object): self.lock = Lock() self.initPlugins() - self.saveAccounts() # save to add categories to conf + self.saveAccounts() #: save to add categories to conf def initPlugins(self): - self.accounts = {} # key = ( plugin ) + self.accounts = {} #: key = ( plugin ) self.plugins = {} self.initAccountPlugins() diff --git a/pyload/manager/Captcha.py b/pyload/manager/Captcha.py index 0814cf78a..4a7582d65 100644 --- a/pyload/manager/Captcha.py +++ b/pyload/manager/Captcha.py @@ -54,7 +54,7 @@ class CaptchaManager(object): cli = self.core.isClientConnected() if cli: #: client connected -> should solve the captcha - task.setWaiting(timeout) #wait 50 sec for response + task.setWaiting(timeout) #: wait 50 sec for response for plugin in self.core.addonManager.activePlugins(): try: diff --git a/pyload/manager/thread/Plugin.py b/pyload/manager/thread/Plugin.py index 155e687d4..d5b4cfefe 100644 --- a/pyload/manager/thread/Plugin.py +++ b/pyload/manager/thread/Plugin.py @@ -27,7 +27,7 @@ class PluginThread(Thread): """Constructor""" Thread.__init__(self) self.setDaemon(True) - self.m = manager #thread manager + self.m = manager #: thread manager def writeDebugReport(self, pyfile): @@ -51,7 +51,7 @@ class PluginThread(Thread): pass info = zipfile.ZipInfo(fs_join(pyfile.pluginname, "debug_Report.txt"), gmtime()) - info.external_attr = 0644 << 16L # change permissions + info.external_attr = 0644 << 16L #: change permissions zip.writestr(info, dump) zip.close() @@ -94,7 +94,7 @@ class PluginThread(Thread): del frame - del stack #delete it just to be sure... + del stack #: delete it just to be sure... dump += "\n\nPLUGIN OBJECT DUMP: \n\n" diff --git a/pyload/manager/thread/Server.py b/pyload/manager/thread/Server.py index 48958f6fb..990325f5d 100644 --- a/pyload/manager/thread/Server.py +++ b/pyload/manager/thread/Server.py @@ -103,7 +103,7 @@ class WebServer(threading.Thread): try: webinterface.run_fcgi(host=self.host, port=self.port) - except ValueError: #@TODO: Fix https://github.com/pyload/pyload/issues/1145 + except ValueError: #@TODO: Fix https://github.com/pyload/pyload/issues/1145 pass |