]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_accepted.py
Initial cleanups and adapted for new dak world order.
[dak.git] / dak / process_accepted.py
index 849cdfe91c88d56a0f773c77035d6361d2d365a8..e03f798459b163d0b0b04c36f85a098e57b08a1e 100755 (executable)
@@ -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: