]> git.decadent.org.uk Git - dak.git/blobdiff - christina
2.2r5 and multiple signatures in Release.gpg
[dak.git] / christina
index 18b968bc40990ed4c0fdcf5ce1bdce6c4f4112a7..15b3a64dc32ee683f877b8be72175eff308fe286 100644 (file)
--- a/christina
+++ b/christina
@@ -2,7 +2,7 @@
 
 # Compares Packages-Arch-Specific (from Quinn-Diff) against the archive
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: christina,v 1.2 2001-07-07 03:15:36 troup Exp $
+# $Id: christina,v 1.4 2001-11-18 19:57:58 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
@@ -97,10 +97,7 @@ def get_source ():
 def main ():
     global Cnf, projectB;
 
-    apt_pkg.init();
-    
-    Cnf = apt_pkg.newConfiguration();
-    apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file());
+    Cnf = utils.get_conf()
 
     Arguments = [('d',"debug","Christina::Options::Debug", "IntVal"),
                  ('h',"help","Christina::Options::Help"),
@@ -118,7 +115,7 @@ def main ():
     as_source = {};
 
     filename = "/org/buildd.debian.org/web/quinn-diff/Packages-arch-specific";
-    file = utils.open_file(filename, 'r');
+    file = utils.open_file(filename);
     line_count = 0;
     for line in file.readlines():
         line = string.strip(utils.re_comments.sub("", line));