diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-11-17 19:29:37 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-11-23 17:39:12 +0100 |
commit | 92888358e14c0a9e50e5604095a1c148ccc8b80d (patch) | |
tree | 2c3f5b0c141ac90e34e2c8360886bc14f9715edd /module/plugins/internal/AbstractExtractor.py | |
parent | Merge pull request #386 from vuolter/s/setup_clean (diff) | |
download | pyload-92888358e14c0a9e50e5604095a1c148ccc8b80d.tar.xz |
Internal plugins PEP8 cleanup
Diffstat (limited to 'module/plugins/internal/AbstractExtractor.py')
-rw-r--r-- | module/plugins/internal/AbstractExtractor.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/internal/AbstractExtractor.py b/module/plugins/internal/AbstractExtractor.py index f730a8434..32c137414 100644 --- a/module/plugins/internal/AbstractExtractor.py +++ b/module/plugins/internal/AbstractExtractor.py @@ -1,15 +1,19 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- + class ArchiveError(Exception): pass + class CRCError(Exception): pass + class WrongPassword(Exception): pass + class AbtractExtractor: __version__ = "0.1" @@ -29,7 +33,6 @@ class AbtractExtractor: """ raise NotImplementedError - def __init__(self, m, file, out, fullpath, overwrite, excludefiles, renice): """Initialize extractor for specific file @@ -47,14 +50,12 @@ class AbtractExtractor: self.overwrite = overwrite self.excludefiles = excludefiles self.renice = renice - self.files = [] # Store extracted files here - + self.files = [] #: Store extracted files here def init(self): """ Initialize additional data structures """ pass - def checkArchive(self): """Check if password if needed. Raise ArchiveError if integrity is questionable. |