hgext/githelp.py
changeset 43551 313e3a279828
parent 43117 8ff1ecfadcd1
child 43554 9f70512ae2cf
--- a/hgext/githelp.py	Thu Nov 07 03:59:22 2019 -0800
+++ b/hgext/githelp.py	Thu Nov 07 13:18:19 2019 -0500
@@ -90,7 +90,7 @@
             args = fancyopts.fancyopts(list(args), cmdoptions, opts, True)
             break
         except getopt.GetoptError as ex:
-            if r"requires argument" in ex.msg:
+            if "requires argument" in ex.msg:
                 raise
             if (r'--' + ex.opt) in ex.msg:
                 flag = b'--' + pycompat.bytestr(ex.opt)