From 7dc892febdce541ffcf76d2ade1e892df02d6280 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 31 Mar 2016 21:17:44 +0200 Subject: [PATCH] Use parameter passed to the --suite option We used the remaining parameters before which is somewhat confusing. --- dak/generate_packages_sources2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index ed35498f..51d8e9b8 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -361,7 +361,7 @@ def main(): ('f',"force","Generate-Packages-Sources::Options::Force"), ('o','option','','ArbItem')] - suite_names = apt_pkg.parse_commandline(cnf.Cnf, Arguments, sys.argv) + apt_pkg.parse_commandline(cnf.Cnf, Arguments, sys.argv) try: Options = cnf.subtree("Generate-Packages-Sources::Options") except KeyError: @@ -382,6 +382,7 @@ def main(): if Options.has_key("Suite"): suites = [] + suite_names = Options['Suite'].split(',') for s in suite_names: suite = get_suite(s.lower(), session) if suite: -- 2.39.5