summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Container.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:29:50 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:29 +0200
commit164512b6a74c94a731fcee7435dce1ccfa2f71e7 (patch)
tree3f61d3b83f641070145b478f54522c4fe2e63691 /module/plugins/internal/Container.py
parentSpare fixes (diff)
downloadpyload-164512b6a74c94a731fcee7435dce1ccfa2f71e7.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/internal/Container.py')
-rw-r--r--module/plugins/internal/Container.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/module/plugins/internal/Container.py b/module/plugins/internal/Container.py
index 097b04ac7..fc1a93606 100644
--- a/module/plugins/internal/Container.py
+++ b/module/plugins/internal/Container.py
@@ -23,8 +23,9 @@ class Container(Crypter):
def preprocessing(self, thread):
- """Prepare"""
-
+ """
+ Prepare
+ """
self.setup()
self.thread = thread
@@ -37,9 +38,10 @@ class Container(Crypter):
def _load2disk(self):
- """Loads container to disk if its stored remotely and overwrite url,
- or check existent on several places at disk"""
-
+ """
+ Loads container to disk if its stored remotely and overwrite url,
+ or check existent on several places at disk
+ """
if self.pyfile.url.startswith("http"):
self.pyfile.name = re.findall("([^\/=]+)", self.pyfile.url)[-1]
content = self.load(self.pyfile.url)