##// END OF EJS Templates
statprof: don't pass str `sys.argv` to a function expecting bytes...
Matt Harbison -
r50701:9eb69fa5 default
parent child Browse files
Show More
@@ -1049,7 +1049,7 b' def main(argv=None):'
1049 # process options
1049 # process options
1050 try:
1050 try:
1051 opts, args = pycompat.getoptb(
1051 opts, args = pycompat.getoptb(
1052 sys.argv[optstart:],
1052 pycompat.sysargv[optstart:],
1053 b"hl:f:o:p:",
1053 b"hl:f:o:p:",
1054 [b"help", b"limit=", b"file=", b"output-file=", b"script-path="],
1054 [b"help", b"limit=", b"file=", b"output-file=", b"script-path="],
1055 )
1055 )
General Comments 0
You need to be logged in to leave comments. Login now