From: Mark Hymers Date: Sun, 9 Aug 2009 16:04:18 +0000 (+0100) Subject: bug fix X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c8ad7f67e2cd6ccedfde435ab7b6eac1477157fb;p=dak.git bug fix Signed-off-by: Mark Hymers --- diff --git a/daklib/utils.py b/daklib/utils.py index 841e8d3a..7b139767 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -875,8 +875,8 @@ def parse_args(Options): suite_ids_list = [] for suitename in split_args(Options["Suite"]): suite = get_suite(suitename, session=session) - if suite_id is None: - warn("suite '%s' not recognised." % (suitename)) + if suite.suite_id is None: + warn("suite '%s' not recognised." % (suite.suite_name)) else: suite_ids_list.append(suite.suite_id) if suite_ids_list: