##// END OF EJS Templates
py3: have bytes version of os.getenv...
Pulkit Goyal -
r30663:bb0d5aad default
parent child Browse files
Show More
@@ -45,6 +45,7 if ispy3:
45 45 ospathsep = os.pathsep.encode('ascii')
46 46 ossep = os.sep.encode('ascii')
47 47 osaltsep = os.altsep
48 osgetenv = os.getenvb
48 49 if osaltsep:
49 50 osaltsep = osaltsep.encode('ascii')
50 51 # os.getcwd() on Python 3 returns string, but it has os.getcwdb() which
@@ -156,6 +157,7 else:
156 157 sysargv = sys.argv
157 158 sysplatform = sys.platform
158 159 getcwd = os.getcwd
160 osgetenv = os.getenv
159 161
160 162 stringio = io.StringIO
161 163 empty = _queue.Empty
General Comments 0
You need to be logged in to leave comments. Login now