]> git.decadent.org.uk Git - dak.git/commitdiff
new.822
authorJoerg Jaspert <joerg@debian.org>
Wed, 31 Dec 2008 10:17:27 +0000 (11:17 +0100)
committerJoerg Jaspert <joerg@debian.org>
Wed, 31 Dec 2008 10:17:27 +0000 (11:17 +0100)
actually show the right changes filename

Signed-off-by: Joerg Jaspert <joerg@debian.org>
ChangeLog
dak/queue_report.py

index f86cf42f0ef852241b3356e4707a06c6fb158f7c..1513626d5528b88532a393bf35ee3de4d2d33c10 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-31  Joerg Jaspert  <joerg@debian.org>
+
+       * dak/queue_report.py (process_changes_files): Actually use the
+       right changes filename
+
 2008-12-30  Michael Casadevall  <sonicmctails@gmail.com>
 
        * src/sql-aptvc.cpp     - Fixed to work on modern postgresql version
index dfd2861627dd467d7d16496f77d72e1e828d87ec..31aedaa979e145e1120b9bd83bf5cec3f2cf3be6 100755 (executable)
@@ -351,6 +351,7 @@ def process_changes_files(changes_files, type, log):
         changeby = {}
         changedby=""
         sponsor=""
+        filename=i[1]["list"][0]["filename"]
         last_modified = time.time()-i[1]["oldest"]
         source = i[1]["list"][0]["source"]
         if len(source) > max_source_len:
@@ -400,7 +401,7 @@ def process_changes_files(changes_files, type, log):
             note = " | [N]"
         else:
             note = ""
-        entries.append([source, version_list, arch_list, note, last_modified, maint, distribution, closes, fingerprint, sponsor, changedby, cache[filename]["filename"]])
+        entries.append([source, version_list, arch_list, note, last_modified, maint, distribution, closes, fingerprint, sponsor, changedby, filename])
 
     # direction entry consists of "Which field, which direction, time-consider" where
     # time-consider says how we should treat last_modified. Thats all.