From 66fcc7c1e291179e87f477b5608a10fb5d4d0829 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 21 May 2016 15:48:17 +0200 Subject: [PATCH] control_suite: log suite name in "dak control-suite --set" Signed-off-by: Julien Cristau --- dak/control_suite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/control_suite.py b/dak/control_suite.py index 5392259c..c94fc136 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -251,7 +251,7 @@ def set_suite(file, suite, transaction, britney=False, force=False): else: transaction.copy_binary(pkg, suite, component) - Logger.log(["added", " ".join(key)]) + Logger.log(["added", suite.suite_name, " ".join(key)]) # Check to see which packages need removed and remove them for key, pkid in current.iteritems(): @@ -261,7 +261,7 @@ def set_suite(file, suite, transaction, britney=False, force=False): session.execute("""DELETE FROM src_associations WHERE id = :pkid""", {'pkid': pkid}) else: session.execute("""DELETE FROM bin_associations WHERE id = :pkid""", {'pkid': pkid}) - Logger.log(["removed", " ".join(key), pkid]) + Logger.log(["removed", suite.suite_name, " ".join(key), pkid]) session.commit() -- 2.39.2