summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 05:36:33 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 05:36:33 +0200
commit8319d31956f7c1a09684009b7ec8c64bd0f3f631 (patch)
treed9eb11803edc366744973452f0beb956b213d871 /module/plugins/internal/SimpleHoster.py
parentUpdate Hook (2) (diff)
downloadpyload-8319d31956f7c1a09684009b7ec8c64bd0f3f631.tar.xz
Update Base
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index d1563ac89..ad76e27a6 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -23,18 +23,6 @@ from module.utils import fixup, fs_encode, html_unescape, 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"
-
- msg = _("%s error") % type.strip().capitalize() if type else _("Error")
- msg += (": %s" % reason.strip()) if reason else ""
- msg += _(" | Plugin may be out of date")
-
- raise Fail(msg)
-
-
#@TODO: Remove in 0.4.10
def _wait(self, seconds, reconnect):
if seconds:
@@ -852,7 +840,3 @@ class SimpleHoster(Hoster):
#@TODO: Remove in 0.4.10
def wait(self, seconds=0, reconnect=None):
return _wait(self, seconds, reconnect)
-
-
- def error(self, reason="", type="parse"):
- return _error(self, reason, type)