From: Julien Cristau Date: Sat, 21 May 2016 13:48:17 +0000 (+0200) Subject: control_suite: log suite name in "dak control-suite --set" X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=66fcc7c1e291179e87f477b5608a10fb5d4d0829 control_suite: log suite name in "dak control-suite --set" Signed-off-by: Julien Cristau --- 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()