diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-17 18:59:20 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:42:40 +0200 |
commit | 20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch) | |
tree | fdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/internal/Plugin.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz |
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r-- | module/plugins/internal/Plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py index 68169e077..1f86214c4 100644 --- a/module/plugins/internal/Plugin.py +++ b/module/plugins/internal/Plugin.py @@ -45,7 +45,7 @@ def parseHtmlForm(attr_str, html, input_names={}): inputs[name] = value if input_names: - # check input attributes + #: check input attributes for key, val in input_names.iteritems(): if key in inputs: if isinstance(val, basestring) and inputs[key] == val: @@ -60,7 +60,7 @@ def parseHtmlForm(attr_str, html, input_names={}): else: return action, inputs #: passed attribute check else: - # no attribute check + #: no attribute check return action, inputs return {}, None #: no matching form found @@ -281,7 +281,7 @@ class Plugin(object): self.logError(e) if just_header: - # parse header + #: parse header header = {"code": req.code} for line in res.splitlines(): line = line.strip() |