summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2011-08-20 07:52:05 -0600
committerJason R. Coombs <jaraco@jaraco.com>2011-08-20 07:52:05 -0600
commit78b11836b5738ae5d094a35404c935904fe8744a (patch)
treee06f7d57804ccfb352ee5802a50299c71b653056 /setuptools/command/easy_install.py
parentb11523cfc567b2be5d0a56b954541d747bced9fe (diff)
parent05564db286ce0b50ea5296adea3e462793dfcbe1 (diff)
downloadpython-setuptools-git-78b11836b5738ae5d094a35404c935904fe8744a.tar.gz
Merge
--HG-- branch : distribute extra : rebase_source : 65dfa0720e5695586685a794e0b6d514e72439dc
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 263b429c..853753c1 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1431,7 +1431,7 @@ def extract_wininst_cfg(dist_filename):
if sys.version_info >= (2,6):
null_byte = bytes([0])
else:
- chr(0)
+ null_byte = chr(0)
config = part.split(null_byte, 1)[0]
# Now the config is in bytes, but on Python 3, it must be
# unicode for the RawConfigParser, so decode it. Is this the