]> err.no Git - dak/commitdiff
i think i fixed sort_changes
authorMike O'Connor <stew@ries.debian.org>
Tue, 10 Nov 2009 16:40:09 +0000 (16:40 +0000)
committerMike O'Connor <stew@ries.debian.org>
Tue, 10 Nov 2009 16:40:09 +0000 (16:40 +0000)
Signed-off-by: Mike O'Connor <stew@ries.debian.org>
dak/process_new.py

index 582cf781f50b91b2b9fb1cee0f196d80010669f2..7db60f87ff7f90ef266cd865395940556868b57e 100755 (executable)
@@ -159,7 +159,8 @@ def sort_changes(changes_files, session):
     for filename in changes_files:
         u = Upload()
         try:
-            u.pkg.load_dot_dak(filename)
+            u.pkg.changes_file = filename
+            u.load_changes(filename)
             u.update_subst()
             cache[filename] = copy.copy(u.pkg.changes)
             cache[filename]["filename"] = filename