aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2011-08-20 07:51:48 -0600
committerJason R. Coombs <jaraco@jaraco.com>2011-08-20 07:51:48 -0600
commit05564db286ce0b50ea5296adea3e462793dfcbe1 (patch)
tree2ffb7d5defc86c2cb7210bfb8574c32ca6f17308
parent2e6300e37739b614e8b4286a9c6f534305c1c005 (diff)
downloadexternal_python_setuptools-05564db286ce0b50ea5296adea3e462793dfcbe1.tar.gz
external_python_setuptools-05564db286ce0b50ea5296adea3e462793dfcbe1.tar.bz2
external_python_setuptools-05564db286ce0b50ea5296adea3e462793dfcbe1.zip
Fix NameError on Python 2.4, 2.5; reference #225
--HG-- branch : distribute extra : rebase_source : b2c739a08485c49b0735f5f7544f354b46ad1d12
-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