aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-12-09 11:38:21 +0100
committerGuido Günther <agx@sigxcpu.org>2016-12-09 12:30:15 +0100
commitc55c780276e8d737118753d2a823d71e4fb76176 (patch)
treeb4c6f378e45f3080b946450aa3ad4c2522867e3b
parentba6865674c4efc56e47a986cec42a288561b67b8 (diff)
create_remote_repo.parse_args: drop unused argument
-rw-r--r--gbp/scripts/create_remote_repo.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py
index 67eaec63..eb7ffb00 100644
--- a/gbp/scripts/create_remote_repo.py
+++ b/gbp/scripts/create_remote_repo.py
@@ -1,6 +1,6 @@
# vim: set fileencoding=utf-8 :
#
-# (C) 2010, 2012, 2015 Guido Günther <agx@sigxcpu.org>
+# (C) 2010,2012,2015,2016 Guido Günther <agx@sigxcpu.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -251,15 +251,12 @@ def build_parser(name, sections=[]):
return parser
-def parse_args(argv, sections=[]):
+def parse_args(argv):
"""
Parse the command line arguments and config files.
@param argv: the command line arguments
@type argv: C{list} of C{str}
- @param sections: additional sections to add to the config file parser
- besides the command name
- @type sections: C{list} of C{str}
"""
# We simpley handle the template section as an additional config file