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

[dak/master] control-suite: only write suite name, not representation of Suite object



---
 dak/control_suite.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dak/control_suite.py b/dak/control_suite.py
index c94fc13..1b38679 100755
--- a/dak/control_suite.py
+++ b/dak/control_suite.py
@@ -320,7 +320,7 @@ def process_file(file, suite, action, transaction, britney=False, force=False):
             # Take action
             if action == "add":
                 if association_id:
-                    utils.warn("'%s_%s_%s' already exists in suite %s." % (package, version, architecture, suite))
+                    utils.warn("'%s_%s_%s' already exists in suite %s." % (package, version, architecture, suite.suite_name))
                     continue
                 else:
                     transaction.copy_source(pkg, suite, component)
-- 
2.1.4



Reply to: