##// END OF EJS Templates
util: use pycompat.bytestr() instead of str()...
Augie Fackler -
r36436:d26b0bed default
parent child Browse files
Show More
@@ -1188,7 +1188,7 b' def shellenviron(environ=None):'
1188 return '0'
1188 return '0'
1189 if val is True:
1189 if val is True:
1190 return '1'
1190 return '1'
1191 return str(val)
1191 return pycompat.bytestr(val)
1192 env = dict(encoding.environ)
1192 env = dict(encoding.environ)
1193 if environ:
1193 if environ:
1194 env.update((k, py2shell(v)) for k, v in environ.iteritems())
1194 env.update((k, py2shell(v)) for k, v in environ.iteritems())
General Comments 0
You need to be logged in to leave comments. Login now