From 95d841e17ada7cbadbf2a28420d8d64e9ff6ae60 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 27 Apr 2013 11:19:24 +0000 Subject: [PATCH] Use a better name for function name and output string --- dak/process_new.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dak/process_new.py b/dak/process_new.py index 84170e4b..ce1f1805 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -118,7 +118,7 @@ class Priority_Completer: ################################################################################ -def claimed_overrides(upload, missing, session): +def takenover_binaries(upload, missing, session): binaries = set([x.package for x in upload.binaries]) suites = ('unstable','experimental') for m in missing: @@ -156,11 +156,11 @@ def print_new (upload, missing, indexed, session, file=sys.stdout): if not m['valid']: line = line + ' [!]' print >>file, line - claimed = claimed_overrides(upload, missing, session) - if claimed and claimed.count(): - print '\nCLAIMED OVERRIDES' - for c in claimed: - print '%s: %s' % (c.source, c.package) + takenover = takenover_binaries(upload, missing, session) + if takenover and takenover.count(): + print '\nBINARIES TAKEN OVER' + for t in takenover: + print '%s: %s' % (t.source, t.package) notes = get_new_comments(upload.policy_queue, upload.changes.source) for note in notes: print "\nAuthor: %s\nVersion: %s\nTimestamp: %s\n\n%s" \ -- 2.39.5