Skip to content

Commit

Permalink
Merge pull request #544 from Teingi/2.5.x_dev
Browse files Browse the repository at this point in the history
removed pyminizip except compress_error
  • Loading branch information
wayyoungboy authored Nov 13, 2024
2 parents a0b39d7 + e07955b commit 05fcc1d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions common/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,11 +701,6 @@ def tar_gz_to_zip(temp_dir, tar_gz_file, output_zip, password, stdio):
if os.path.exists(extract_dir):
shutil.rmtree(extract_dir)
return False
except pyminizip.compress_error as ce:
stdio.exception("compression error: {0}".format(ce))
if os.path.exists(extract_dir):
shutil.rmtree(extract_dir)
return False
except Exception as e:
stdio.exception("an error occurred: {0}".format(e))
if os.path.exists(extract_dir):
Expand Down

0 comments on commit 05fcc1d

Please sign in to comment.