hgext/githelp.py
changeset 41387 876494fd967d
parent 40295 fa88170c10bb
child 41436 031d91623fdc
--- a/hgext/githelp.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/hgext/githelp.py	Thu Jan 17 09:17:12 2019 -0800
@@ -83,7 +83,6 @@
             args = fancyopts.fancyopts(list(args), cmdoptions, opts, True)
             break
         except getopt.GetoptError as ex:
-            flag = None
             if "requires argument" in ex.msg:
                 raise
             if ('--' + ex.opt) in ex.msg: