aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/zipimport.py
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-12-16 05:04:12 +0530
committerNick Coghlan <ncoghlan@gmail.com>2019-12-16 09:34:12 +1000
commit79f02fee1a542c440fd906fd54154c73fc0f8235 (patch)
tree33368ca08ce4e6560eccfcf0fa173a2ad19344e1 /Lib/zipimport.py
parentd587272fe3b0fcad2f23a490e76f9f82ca7d64ef (diff)
downloadcpython-79f02fee1a542c440fd906fd54154c73fc0f8235.tar.gz
cpython-79f02fee1a542c440fd906fd54154c73fc0f8235.zip
bpo-39033: Fix NameError in zipimport during hash validation (GH-17588)
Patch by Karthikeyan Singaravelan.
Diffstat (limited to 'Lib/zipimport.py')
-rw-r--r--Lib/zipimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipimport.py b/Lib/zipimport.py
index fd917c16b01..5ef0a17c2a5 100644
--- a/Lib/zipimport.py
+++ b/Lib/zipimport.py
@@ -608,7 +608,7 @@ def _unmarshal_code(self, pathname, fullpath, fullname, data):
)
try:
- _boostrap_external._validate_hash_pyc(
+ _bootstrap_external._validate_hash_pyc(
data, source_hash, fullname, exc_details)
except ImportError:
return None