mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1124192 - Fix PATH winding up as unicode when using activate_virtualenv. r=gps
This commit is contained in:
parent
3dbcd679e4
commit
ae74c94379
@ -395,6 +395,8 @@ class VirtualenvManager(object):
|
||||
"""
|
||||
|
||||
execfile(self.activate_path, dict(__file__=self.activate_path))
|
||||
if isinstance(os.environ['PATH'], unicode):
|
||||
os.environ['PATH'] = os.environ['PATH'].encode('utf-8')
|
||||
|
||||
def install_pip_package(self, package):
|
||||
"""Install a package via pip.
|
||||
|
Loading…
Reference in New Issue
Block a user