From 2dd958f43c0a54b88b8806f0e36fbef05b6af185 Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Sat, 29 Jul 2006 21:45:51 +1000 Subject: [PATCH] use correct override information for pre-existing packages --- daklib/queue.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daklib/queue.py b/daklib/queue.py index ea8f676a..d786d62b 100644 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -273,7 +273,11 @@ class Upload: destination = self.Cnf["Dir::PoolRoot"] + files[file]["pool name"] + file summary += file + "\n to " + destination + "\n" if files[file]["type"] in ["deb", "udeb", "dsc"]: - override_summary += "%s - %s %s\n" % (file, files[file]["priority"], files[file]["section"]) + # (queue/unchecked), there we have override entries already, use them + # (process-new), there we dont have override entries, use the newly generated ones. + override_prio = files[file].get("override priority", files[file]["priority"]) + override_sect = files[file].get("override section", files[file]["section"]) + override_summary += "%s - %s %s\n" % (file, override_prio, override_sect) short_summary = summary -- 2.39.5