]> git.decadent.org.uk Git - dak.git/commitdiff
add sorting of changes files to be uploaded in amber
authorRyan Murray <rmurray@debian.org>
Wed, 13 Oct 2004 15:58:13 +0000 (15:58 +0000)
committerRyan Murray <rmurray@debian.org>
Wed, 13 Oct 2004 15:58:13 +0000 (15:58 +0000)
amber

diff --git a/amber b/amber
index 00bd0bafb5c98aa5b668c1a316238cf4bdd5c2f1..01276f7779b2da9caa53f741fa559d4462c3331c 100755 (executable)
--- a/amber
+++ b/amber
@@ -2,7 +2,7 @@
 
 # Wrapper for Debian Security team
 # Copyright (C) 2002, 2003  James Troup <james@nocrew.org>
-# $Id: amber,v 1.8 2003-03-14 19:06:02 troup Exp $
+# $Id: amber,v 1.9 2004-10-13 15:58:13 rmurray Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -65,6 +65,7 @@ def do_upload(changes_files):
         component_mapping[component] = Cnf["Amber::ComponentMappings::%s" % (component)];
     uploads = {}; # uploads[uri] = file_list;
     package_list = {} # package_list[source_name][version];
+    changes_files.sort(utils.changes_compare);
     for changes_file in changes_files:
         changes_file = utils.validate_changes_file_arg(changes_file);
         # Reset variables