From 6277b6f6bb9727303bb0c8951cac4a17243b45c4 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 23 Jan 2010 10:27:15 +0100 Subject: [PATCH] make-maintainers one more irritating way made a little more clear. fixed the output so it actually works for -u Signed-off-by: Joerg Jaspert --- dak/make_maintainers.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dak/make_maintainers.py b/dak/make_maintainers.py index a7b576a6..80e22153 100755 --- a/dak/make_maintainers.py +++ b/dak/make_maintainers.py @@ -156,10 +156,10 @@ def main(): package = source[0] version = source[1] maintainer = fix_maintainer(source[2]) - if not gen_uploaders: - key = package - else: + if gen_uploaders: key = (package, maintainer) + else: + key = package if packages.has_key(key): if packages[key]["priority"] <= suite_priority: @@ -234,7 +234,8 @@ def main(): package_keys.sort() if gen_uploaders: for (package, maintainer) in package_keys: - lhs = "~".join([package, packages[package]["version"]]) + key = (package, maintainer) + lhs = "~".join([package, packages[key]["version"]]) print "%-30s %s" % (lhs, maintainer) else: for package in package_keys: -- 2.39.5