##// END OF EJS Templates
py3: byteify sys.argv in gendoc.py
Matt Harbison -
r41059:c0865f3d default
parent child Browse files
Show More
@@ -29,6 +29,7 b' from mercurial import util'
29 29 util.datapath
30 30 from mercurial import (
31 31 commands,
32 encoding,
32 33 extensions,
33 34 help,
34 35 minirst,
@@ -230,7 +231,7 b' def allextensionnames():'
230 231 if __name__ == "__main__":
231 232 doc = b'hg.1.gendoc'
232 233 if len(sys.argv) > 1:
233 doc = sys.argv[1]
234 doc = encoding.strtolocal(sys.argv[1])
234 235
235 236 ui = uimod.ui.load()
236 237 if doc == b'hg.1.gendoc':
General Comments 0
You need to be logged in to leave comments. Login now