indent
This commit is contained in:
+2
-2
@@ -224,7 +224,7 @@ class ZipFileExt(ZipFile):
|
||||
if zinfo.compress_type == ZIP_DEFLATED:
|
||||
cmpr = zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION,
|
||||
zlib.DEFLATED, -15)
|
||||
else:
|
||||
else:
|
||||
cmpr = None
|
||||
|
||||
while 1:
|
||||
@@ -292,7 +292,7 @@ class ZipFileExt(ZipFile):
|
||||
if not pylzma:
|
||||
raise RuntimeError, \
|
||||
"De-compression requires the (missing) pylzma module"
|
||||
return LzmaFileEntry(self.fp, zinfo.compress_size)
|
||||
return LzmaFileEntry(self.fp, zinfo.compress_size)
|
||||
else:
|
||||
raise BadZipfile, \
|
||||
"Unsupported compression method %d for file %s" % \
|
||||
|
||||
Reference in New Issue
Block a user