##// END OF EJS Templates
ui: check for --debugger in sys.argv using r-string to avoid bytes on py3...
Augie Fackler -
r31341:66f1c244 default
parent child Browse files
Show More
@@ -901,7 +901,7 b' class ui(object):'
901 901 or not self.formatted()
902 902 or self.plain()
903 903 # TODO: expose debugger-enabled on the UI object
904 or '--debugger' in sys.argv):
904 or '--debugger' in pycompat.sysargv):
905 905 # We only want to paginate if the ui appears to be
906 906 # interactive, the user didn't say HGPLAIN or
907 907 # HGPLAINEXCEPT=pager, and the user didn't specify --debug.
General Comments 0
You need to be logged in to leave comments. Login now