diff options
author | Jeix <devnull@localhost> | 2010-08-13 11:03:44 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-08-13 11:03:44 +0200 |
commit | b1cc10a0f5ea6c9cb8231c67dd016fe4a2414170 (patch) | |
tree | af31f7d3c6efb49a2afe905d4971001417299c03 /module/pyunrar.py | |
parent | irchook-xmlrpc fix (diff) | |
parent | improvements (diff) | |
download | pyload-b1cc10a0f5ea6c9cb8231c67dd016fe4a2414170.tar.xz |
Merge
Diffstat (limited to 'module/pyunrar.py')
-rw-r--r-- | module/pyunrar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/pyunrar.py b/module/pyunrar.py index 4db3c3a19..6bb240965 100644 --- a/module/pyunrar.py +++ b/module/pyunrar.py @@ -270,7 +270,7 @@ class Unrar(): if overwrite: try: remove(abspath(join(destination, sf[0]))) - except OSError as e: + except OSError, e: if not e.errno == 2: raise e f = sf[0] @@ -278,7 +278,7 @@ class Unrar(): if fullPath: try: makedirs(dirname(join(abspath(destination), sf[0]))) - except OSError as e: + except OSError, e: if not e.errno == 17: raise e d = join(destination, dirname(f)) |