Commit f91bf392 authored by Vinay Sajip's avatar Vinay Sajip

Add back accidentally deleted import.

--HG--
branch : single-codebase
parent 7161829f
[ssl:python_version in '2.4, 2.5']
ssl==1.16
[ssl:sys_platform=='win32' and python_version=='2.4']
ctypes==1.0.2
[ssl:sys_platform=='win32']
wincertstore==0.1
[certs]
certifi==0.0.8
[ssl:python_version in '2.4, 2.5']
ssl==1.16
\ No newline at end of file
[ssl:sys_platform=='win32']
wincertstore==0.1
\ No newline at end of file
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment