aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 12:19:32 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 12:19:32 +0100
commitf91bf3924a2f4e3d4c7f075b792002dae97d46b4 (patch)
treeb70c55d5687cd362faf7af71000096ee4f6e2810 /setuptools/command/easy_install.py
parent7161829fd5e4515903ce56b711e551bc75c35ba7 (diff)
downloadexternal_python_setuptools-f91bf3924a2f4e3d4c7f075b792002dae97d46b4.tar.gz
external_python_setuptools-f91bf3924a2f4e3d4c7f075b792002dae97d46b4.tar.bz2
external_python_setuptools-f91bf3924a2f4e3d4c7f075b792002dae97d46b4.zip
Add back accidentally deleted import.
--HG-- branch : single-codebase
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 000fefa0..3194644e 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1491,6 +1491,7 @@ def extract_wininst_cfg(dist_filename):
f.seek(prepended-12)
from setuptools.compat import StringIO, ConfigParser
+ import struct
tag, cfglen, bmlen = struct.unpack("<iii",f.read(12))
if tag not in (0x1234567A, 0x1234567B):
return None # not a valid tag