From: Anthony Towns Date: Sat, 29 Jul 2006 11:45:51 +0000 (+1000) Subject: use correct override information for pre-existing packages X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd958f43c0a54b88b8806f0e36fbef05b6af185;p=dak use correct override information for pre-existing packages --- 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