summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-13 23:24:21 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-13 23:24:21 +0100
commitc7ad1cc5b4a5d190a060e3ddd9274c3065da6708 (patch)
tree639062525ddde3b8c785f26a0f4091ec10d9e204 /module/plugins/Hoster.py
parentfixed pyflakes and sloccount (diff)
downloadpyload-c7ad1cc5b4a5d190a060e3ddd9274c3065da6708.tar.xz
plugin unit test, closed #499, #500
Diffstat (limited to 'module/plugins/Hoster.py')
-rw-r--r--module/plugins/Hoster.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/Hoster.py b/module/plugins/Hoster.py
index 7c43c6444..4a5d15759 100644
--- a/module/plugins/Hoster.py
+++ b/module/plugins/Hoster.py
@@ -28,9 +28,12 @@ if os.name != "nt":
from grp import getgrnam
from Base import Base, Fail, Retry
+from module.utils import chunks as _chunks
from module.utils.fs import save_join, save_filename, fs_encode, fs_decode,\
remove, makedirs, chmod, stat, exists, join
+# Import for Hoster Plugins
+chunks = _chunks
class Abort(Exception):
""" raised when aborted """