]> git.decadent.org.uk Git - dak.git/blobdiff - christina
lose second argument to open_file since we use default, change foo == [] to not foo.
[dak.git] / christina
index 18b968bc40990ed4c0fdcf5ce1bdce6c4f4112a7..b6af669b77df86a36f5ee5f8d3140abfcbfb9c6d 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.3 2001-11-04 22:28:44 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
@@ -118,7 +118,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));