Commit 7f89e790 authored by Jason R. Coombs's avatar Jason R. Coombs

Can't use six.u as 'c:\users' triggers unicode_escape and fails. Ref #704.

parent 53e5575e
......@@ -668,7 +668,7 @@ class easy_install(Command):
if os.path.exists(tmpdir):
# workaround for http://bugs.python.org/issue24672
if six.PY2:
tmpdir = six.u(tmpdir)
tmpdir = tmpdir.decode('ascii')
rmtree(tmpdir)
def install_item(self, spec, download, tmpdir, deps, install_needed=False):
......
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