githelp: drop unused variable assignments
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 13:29:45 -0500
changeset 43973 ca5bd34c597b
parent 43972 7a2c49a3cbae
child 43974 a2ad5aeedfdf
githelp: drop unused variable assignments Caught by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7741
hgext/githelp.py
--- 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')