summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/extractor
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 08:21:50 +0200
commit486adc1874e463b1563ad2394b216faff388b10d (patch)
tree58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/extractor
parentFix https://github.com/pyload/pyload/issues/1349 (diff)
downloadpyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/extractor')
-rw-r--r--pyload/plugin/extractor/SevenZip.py12
-rw-r--r--pyload/plugin/extractor/UnRar.py16
-rw-r--r--pyload/plugin/extractor/UnZip.py12
3 files changed, 20 insertions, 20 deletions
diff --git a/pyload/plugin/extractor/SevenZip.py b/pyload/plugin/extractor/SevenZip.py
index 71b288ab0..cf397114f 100644
--- a/pyload/plugin/extractor/SevenZip.py
+++ b/pyload/plugin/extractor/SevenZip.py
@@ -9,13 +9,13 @@ from pyload.utils import fs_encode, fs_join
class SevenZip(UnRar):
- __name = "SevenZip"
- __type = "extractor"
- __version = "0.11"
+ __name__ = "SevenZip"
+ __type__ = "extractor"
+ __version__ = "0.11"
- __description = """7-Zip extractor plugin"""
- __license = "GPLv3"
- __authors = [("Michael Nowak" , "" ),
+ __description__ = """7-Zip extractor plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Michael Nowak" , "" ),
("Walter Purcaro", "vuolter@gmail.com")]
diff --git a/pyload/plugin/extractor/UnRar.py b/pyload/plugin/extractor/UnRar.py
index cad58ff4f..3bc4f3464 100644
--- a/pyload/plugin/extractor/UnRar.py
+++ b/pyload/plugin/extractor/UnRar.py
@@ -21,13 +21,13 @@ def renice(pid, value):
class UnRar(Extractor):
- __name = "UnRar"
- __type = "extractor"
- __version = "1.20"
+ __name__ = "UnRar"
+ __type__ = "extractor"
+ __version__ = "1.20"
- __description = """Rar extractor plugin"""
- __license = "GPLv3"
- __authors = [("RaNaN" , "RaNaN@pyload.org" ),
+ __description__ = """Rar extractor plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("RaNaN" , "RaNaN@pyload.org" ),
("Walter Purcaro", "vuolter@gmail.com"),
("Immenz" , "immenz@gmx.net" )]
@@ -55,7 +55,7 @@ class UnRar(Extractor):
cls.CMD = os.path.join(pypath, "RAR.exe")
p = subprocess.Popen([cls.CMD], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
- cls.__name = "RAR"
+ cls.__name__ = "RAR"
cls.REPAIR = True
except OSError:
@@ -66,7 +66,7 @@ class UnRar(Extractor):
try:
p = subprocess.Popen(["rar"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
- cls.__name = "RAR"
+ cls.__name__ = "RAR"
cls.REPAIR = True
except OSError: #: fallback to unrar
diff --git a/pyload/plugin/extractor/UnZip.py b/pyload/plugin/extractor/UnZip.py
index b4fa637f0..799af3926 100644
--- a/pyload/plugin/extractor/UnZip.py
+++ b/pyload/plugin/extractor/UnZip.py
@@ -11,13 +11,13 @@ from pyload.utils import fs_encode
class UnZip(Extractor):
- __name = "UnZip"
- __type = "extractor"
- __version = "1.12"
+ __name__ = "UnZip"
+ __type__ = "extractor"
+ __version__ = "1.12"
- __description = """Zip extractor plugin"""
- __license = "GPLv3"
- __authors = [("Walter Purcaro", "vuolter@gmail.com")]
+ __description__ = """Zip extractor plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
EXTENSIONS = [".zip", ".zip64"]