]> git.decadent.org.uk Git - dak.git/blobdiff - charisma
change the way ziyi writes to Release.gpg (--output not >)
[dak.git] / charisma
index a9fc2005c96631cd1dcca229046abe19b3010601..dd1eb397cc7e9bc3a0ec23b7578190f967a3f74d 100755 (executable)
--- a/charisma
+++ b/charisma
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Generate Maintainers file used by e.g. the Debian Bug Tracking System
-# Copyright (C) 2000  James Troup <james@nocrew.org>
-# $Id: charisma,v 1.2 2000-12-17 22:11:12 troup Exp $
+# Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
+# $Id: charisma,v 1.4 2001-03-02 02:24:33 troup 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
@@ -97,7 +97,7 @@ def main():
             version = source[1];
             maintainer = fix_maintainer(source[2]);
             if packages.has_key(package):
-                if packages[package]["priority"] < suite_priority:
+                if packages[package]["priority"] <= suite_priority:
                     if apt_pkg.VersionCompare(packages[package]["version"], version) == -1:
                         packages[package] = { "maintainer": maintainer, "priority": suite_priority, "version": version };
             else:
@@ -116,7 +116,7 @@ def main():
             else:
                 maintainer = get_maintainer(binary[2]);
             if packages.has_key(package):
-                if packages[package]["priority"] < suite_priority:
+                if packages[package]["priority"] <= suite_priority:
                     if apt_pkg.VersionCompare(packages[package]["version"], version) == -1:
                         packages[package] = { "maintainer": maintainer, "priority": suite_priority, "version": version };
             else: