Commit 9b09f6d1 authored by Jason R. Coombs's avatar Jason R. Coombs

Corrected ValueError introduced in the last commit due to incorrect use of arg unpacking

--HG--
branch : distribute
extra : rebase_source : 0ebd905145e32bf072c00bc663dde8716ad4b88a
parent b4aecb44
......@@ -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
......
......@@ -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?
......
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