str python

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-15 12:00:05 -04:00
parent eb4f133873
commit b3f0b628a1
+1 -1
View File
@@ -55,7 +55,7 @@ class HackedPythonVersion(object):
def __enter__(self):
if self.python:
os.environ['PIP_PYTHON_VERSION'] = self.python
os.environ['PIP_PYTHON_VERSION'] = str(self.python)
def __exit__(self, *args):
# Restore original Python version information.