]> git.decadent.org.uk Git - dak.git/commitdiff
bug fix
authorMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 16:04:18 +0000 (17:04 +0100)
committerMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 16:04:18 +0000 (17:04 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/utils.py

index 841e8d3a6da3f014df5bf4f60a1e57bce9125b96..7b139767dd98389b62871b703e1b754e7240b3f7 100755 (executable)
@@ -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: