diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-24 01:12:54 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-24 01:12:54 +0100 |
commit | f0d4e2f503787dac35fb6ef80d93ad721a9b83d2 (patch) | |
tree | cad4fedca6d45172a53f0425c7992dfb454c361f /module/plugins/internal/SimpleHoster.py | |
parent | [HugefilesNet] Fix (diff) | |
download | pyload-f0d4e2f503787dac35fb6ef80d93ad721a9b83d2.tar.xz |
[XFSHoster] Code improvements
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 80ec2669b..95b52a017 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -19,6 +19,7 @@ from module.utils import fixup, parseFileSize statusMap = dict((v, k) for k, v in _statusMap.iteritems()) +#@TODO: Remove in 0.4.10 and redirect to self.error instead def _error(self, reason, type): if not reason and not type: type = "unknown" @@ -479,7 +480,7 @@ class SimpleHoster(Hoster): self.retry(max_tries=max_tries, reason=_("Download limit reached")) - def parseHtmlForm(self, attr_str='', input_names={}): + def parseHtmlForm(self, attr_str="", input_names={}): return parseHtmlForm(attr_str, self.html, input_names) |