summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2011-08-01 04:38:03 -0400
committerJason R. Coombs <jaraco@jaraco.com>2011-08-01 04:38:03 -0400
commit9b09f6d159a7d5f4ffeaf9de4710ee869258fed7 (patch)
tree0245a63e36ae4c38b52574cbd546290bd1510d27
parentb4aecb449c912f0b405c687c763b9976c4cd884d (diff)
downloadpython-setuptools-git-9b09f6d159a7d5f4ffeaf9de4710ee869258fed7.tar.gz
Corrected ValueError introduced in the last commit due to incorrect use of arg unpacking
--HG-- branch : distribute extra : rebase_source : 0ebd905145e32bf072c00bc663dde8716ad4b88a
-rw-r--r--distribute.egg-info/entry_points.txt2
-rwxr-xr-xsetuptools/command/easy_install.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/distribute.egg-info/entry_points.txt b/distribute.egg-info/entry_points.txt
index 9fd41758..9dc5c2e1 100644
--- a/distribute.egg-info/entry_points.txt
+++ b/distribute.egg-info/entry_points.txt
@@ -32,7 +32,7 @@ depends.txt = setuptools.command.egg_info:warn_depends_obsolete
[console_scripts]
easy_install = setuptools.command.easy_install:main
-easy_install-2.7 = setuptools.command.easy_install:main
+easy_install-3.2 = setuptools.command.easy_install:main
[setuptools.file_finders]
svn_cvs = setuptools.command.sdist:_default_revctrl
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index c1bae1c0..f44e8d4a 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1429,7 +1429,7 @@ def extract_wininst_cfg(dist_filename):
# part is in bytes, but we need to read up to the first null
# byte.
null_byte = bytes([0]) if sys.version_info >= (2,6) else chr(0)
- config, = part.split(null_byte, 1)
+ 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
# right encoding?