X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_accepted.py;h=e03f798459b163d0b0b04c36f85a098e57b08a1e;hb=55e563755c9f2a08950b2d46000ae8a800c5b579;hp=849cdfe91c88d56a0f773c77035d6361d2d365a8;hpb=f40df055fa0d4b37b6aac772e40747b8285c8c7c;p=dak.git diff --git a/dak/process_accepted.py b/dak/process_accepted.py index 849cdfe9..e03f7984 100755 --- a/dak/process_accepted.py +++ b/dak/process_accepted.py @@ -488,7 +488,7 @@ def stable_install (summary, short_summary): q = projectB.query(que) # Reduce the query results to a list of version numbers - ql = map(lambda x: x[0], q.getresult()) + ql = [ i[0] for i in q.getresult() ] if not ql: daklib.utils.fubar("[INTERNAL ERROR] couldn't find '%s' (%s for %s architecture) in binaries table." % (package, version, architecture)) else: @@ -614,7 +614,7 @@ def main(): Urgency_Logger = Urgency_Log(Cnf) # Initialize the substitution template mapping global - bcc = "X-DAK: dak process-accepted\nX-Katie: this header is obsolete" + bcc = "X-DAK: dak process-accepted\nX-Katie: $Revision: 1.18 $" if Cnf.has_key("Dinstall::Bcc"): Subst["__BCC__"] = bcc + "\nBcc: %s" % (Cnf["Dinstall::Bcc"]) else: