Skip to content

Commit 05fcc1d

Browse files
authored
Merge pull request oceanbase#544 from Teingi/2.5.x_dev
removed pyminizip except compress_error
2 parents a0b39d7 + e07955b commit 05fcc1d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

common/tool.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -701,11 +701,6 @@ def tar_gz_to_zip(temp_dir, tar_gz_file, output_zip, password, stdio):
701701
if os.path.exists(extract_dir):
702702
shutil.rmtree(extract_dir)
703703
return False
704-
except pyminizip.compress_error as ce:
705-
stdio.exception("compression error: {0}".format(ce))
706-
if os.path.exists(extract_dir):
707-
shutil.rmtree(extract_dir)
708-
return False
709704
except Exception as e:
710705
stdio.exception("an error occurred: {0}".format(e))
711706
if os.path.exists(extract_dir):

0 commit comments

Comments
 (0)