Commits

Jason R. Coombs committed 7ab4ae9

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

  • Participants
  • Parent commits 9572ef0

Comments (0)

Files changed (2)

distribute.egg-info/entry_points.txt

 
 [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

setuptools/command/easy_install.py

             # 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?