##// END OF EJS Templates
py3: use pycompat.sysargv in dispatch.run()...
Pulkit Goyal -
r30468:7f2b18c3 default
parent child Browse files
Show More
@@ -36,6 +36,7 b' from . import ('
36 36 hg,
37 37 hook,
38 38 profiling,
39 pycompat,
39 40 revset,
40 41 templatefilters,
41 42 templatekw,
@@ -58,7 +59,7 b' class request(object):'
58 59
59 60 def run():
60 61 "run the command in sys.argv"
61 sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
62 sys.exit((dispatch(request(pycompat.sysargv[1:])) or 0) & 255)
62 63
63 64 def _getsimilar(symbols, value):
64 65 sim = lambda x: difflib.SequenceMatcher(None, value, x).ratio()
General Comments 0
You need to be logged in to leave comments. Login now