githelp: drop unused variable assignments
Caught by PyCharm.
Differential Revision: https://phab.mercurial-scm.org/D7741
--- a/hgext/githelp.py Fri Dec 27 13:24:20 2019 -0500
+++ b/hgext/githelp.py Fri Dec 27 13:29:45 2019 -0500
@@ -209,7 +209,7 @@
def am(ui, repo, *args, **kwargs):
cmdoptions = []
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
cmd = Command(b'import')
ui.status(bytes(cmd), b"\n")
@@ -1139,7 +1139,7 @@
def svndcommit(ui, repo, *args, **kwargs):
cmdoptions = []
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
cmd = Command(b'push')
@@ -1148,7 +1148,7 @@
def svnfetch(ui, repo, *args, **kwargs):
cmdoptions = []
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
cmd = Command(b'pull')
cmd.append(b'default-push')
@@ -1173,7 +1173,7 @@
cmdoptions = [
(b'l', b'local', None, b''),
]
- args, opts = parseoptions(ui, cmdoptions, args)
+ parseoptions(ui, cmdoptions, args)
pullcmd = Command(b'pull')
pullcmd.append(b'default-push')