From 3eec058b29cc37af8ff116926d4273b377c7471b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 16 Apr 2015 18:07:46 +0200 Subject: Fix comments --- pyload/manager/Account.py | 4 ++-- pyload/manager/Captcha.py | 2 +- pyload/manager/thread/Plugin.py | 6 +++--- pyload/manager/thread/Server.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'pyload/manager') 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 -- cgit v1.2.3