This website works better with JavaScript.
Home
Explore
Help
Sign In
ArchiveTeam
/
megawarc
Watch
11
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add zlib.error as a potential gzip test result.
master
Alard
11 years ago
parent
fb0ba014ff
commit
e61ef326a7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
megawarc
+ 1
- 1
megawarc
View File
@@ -143,7 +143,7 @@ def test_gz(filename, offset, size, verbose=False):
buf = gz.read(4096)
if len(buf) == 0:
break
except (IOError, ValueError) as e:
except (IOError, ValueError
, zlib.error
) as e:
if verbose:
print >>sys.stderr, e
return False
Write
Preview
Loading…
Cancel
Save