##// END OF EJS Templates
py3: have bytes version of sys.argv...
Pulkit Goyal -
r30330:a2f2f694 default
parent child Browse files
Show More
@@ -43,6 +43,7 b' if ispy3:'
43 43 osname = os.name.encode('ascii')
44 44 ospathsep = os.pathsep.encode('ascii')
45 45 ossep = os.sep.encode('ascii')
46 sysargv = list(map(os.fsencode, sys.argv))
46 47
47 48 def sysstr(s):
48 49 """Return a keyword str to be passed to Python functions such as
@@ -91,6 +92,7 b' else:'
91 92 osname = os.name
92 93 ospathsep = os.pathsep
93 94 ossep = os.sep
95 sysargv = sys.argv
94 96
95 97 stringio = io.StringIO
96 98 empty = _queue.Empty
General Comments 0
You need to be logged in to leave comments. Login now