[reprotest] 03/04: Fix typo in calling parse*_args()

Ximin Luo infinity0 at debian.org
Mon Nov 28 20:10:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository reprotest.

commit a5269a9bb03b0c5382fbe4335e98b0a4cdb92b7b
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Nov 28 20:59:07 2016 +0100

    Fix typo in calling parse*_args()
---
 reprotest/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/reprotest/__init__.py b/reprotest/__init__.py
index 727b15d..22d2a4a 100644
--- a/reprotest/__init__.py
+++ b/reprotest/__init__.py
@@ -534,7 +534,7 @@ def command_line(*argv):
         formatter_class=argparse.RawDescriptionHelpFormatter, add_help=False)
     for option in COMMAND_LINE_OPTIONS:
         arg_parser.add_argument(option, **COMMAND_LINE_OPTIONS[option])
-    args, remainder = arg_parser.parse_known_args(*argv)
+    args, remainder = arg_parser.parse_known_args(argv)
 
     # work around python issue 14191; this allows us to accept command lines like
     # $ reprotest build stuff --option=val --option=val -- schroot unstable-amd64-sbuild
@@ -544,7 +544,7 @@ def command_line(*argv):
             # however we disallow split command lines that don't have '--', e.g.:
             # $ reprotest build stuff --option=val --option=val schroot unstable-amd64-sbuild
             # since it's too complex to support that in a way that's not counter-intuitive
-            arg_parser.parse_args(*argv)
+            arg_parser.parse_args(argv)
         args.virtual_server_args = (args.virtual_server_args or []) + remainder[1:]
     args.virtual_server_args = args.virtual_server_args or ["null"]
     # print(args)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list