commit | 717cc61ed103684b8c73e0e8af10ace345f39f16 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Sep 12 07:33:53 2019 -0700 |
committer | GitHub <noreply@github.com> | Thu Sep 12 07:33:53 2019 -0700 |
tree | 6296a581a2b43c84fc454d70e85f57893f2a3f1b | |
parent | 0d7cb5bb291d8645824581ae570a394e3d221e5e [diff] [blame] |
bpo-36991: Fix incorrect exception escaping ZipFile.extract() (GH-13632) (cherry picked from commit 2f1b857562b0f1601c9019db74c29b7d7e21ac9f) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
diff --git a/Lib/zipfile.py b/Lib/zipfile.py index dfd0907..5943506 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py
@@ -703,6 +703,7 @@ def _get_decompressor(compress_type): + _check_compression(compress_type) if compress_type == ZIP_STORED: return None elif compress_type == ZIP_DEFLATED: