From: Niels Thykier Date: Sun, 7 Jun 2015 09:37:48 +0000 (+0200) Subject: auto-decruft: Fix wording of removal message X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3b5befe5c0db8785be22f4f86e0535f28cc62120;p=dak.git auto-decruft: Fix wording of removal message Signed-off-by: Niels Thykier --- diff --git a/dak/auto_decruft.py b/dak/auto_decruft.py index 38e3b8c5..5de87821 100644 --- a/dak/auto_decruft.py +++ b/dak/auto_decruft.py @@ -74,8 +74,7 @@ def remove_sourceless_cruft(suite_name, suite_id, session, dryrun): rows = query_without_source(suite_id, session) arch_all_id = get_architecture('all', session=session) - - message = '[auto-cruft] no longer built from source and no reverse dependencies' + message = '[auto-cruft] no longer built from source, no reverse dependencies' for row in rows: package = row[0] if utils.check_reverse_depends([package], suite_name, [], session, cruft=True, quiet=True): @@ -120,7 +119,7 @@ def removeNBS(suite_name, suite_id, session, dryrun): if utils.check_reverse_depends(pkg_list, suite_name, arch_list, session, cruft=True, quiet=True): continue arch_string = ','.join(arch_list) - message = '[auto-cruft] NBS (no longer built by %s and had no reverse dependencies)' % source + message = '[auto-cruft] NBS (no longer built by %s, no reverse dependencies)' % source if dryrun: # Embed the -R just in case someone wants to run it manually later