From: Luca Falavigna Date: Sat, 27 Apr 2013 11:19:24 +0000 (+0000) Subject: Use a better name for function name and output string X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95d841e17ada7cbadbf2a28420d8d64e9ff6ae60;p=dak Use a better name for function name and output string --- 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" \