#!/usr/bin/env python
# Wrapper for Debian Security team
-# Copyright (C) 2002 James Troup <james@nocrew.org>
-# $Id: amber,v 1.7 2002-11-22 14:55:51 troup Exp $
+# Copyright (C) 2002, 2003 James Troup <james@nocrew.org>
+# $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
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
adv = utils.TemplateSubst(Subst, Cnf["Dir::Templates"]+"/amber.advisory");
if not Options["No-Action"]:
- utils.send_mail (adv, "");
+ utils.send_mail (adv);
else:
print "[<Would send template advisory mail>]";