[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] bug fix



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 daklib/utils.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index 841e8d3..7b13976 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:
-- 
1.5.6.5



Reply to: