]> git.decadent.org.uk Git - dak.git/blobdiff - rene
real_arch, stolen from ziyi, moved to utils, use where useful
[dak.git] / rene
diff --git a/rene b/rene
index 15d7cd0f6d6a1d83f3b5518ecf2c0ea913c2daaf..e4f570a15b5156d9392aa42380fbde9650813f44 100755 (executable)
--- a/rene
+++ b/rene
@@ -2,7 +2,7 @@
 
 # Check for obsolete binary packages
 # Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
-# $Id: rene,v 1.12 2002-05-14 15:33:32 troup Exp $
+# $Id: rene,v 1.13 2002-06-08 00:18:02 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
@@ -132,10 +132,8 @@ def main ():
         os.unlink(temp_filename);
 
     for component in components:
-        architectures = Cnf.ValueList("Suite::%s::Architectures" % (suite));
+        architectures = filter(utils.real_arch, Cnf.ValueList("Suite::%s::Architectures" % (suite)));
         for architecture in architectures:
-            if [ "source", "all" ].count(architecture) != 0:
-                continue;
             filename = "%s/dists/%s/%s/binary-%s/Packages" % (Cnf["Dir::Root"], suite, component, architecture);
             packages = utils.open_file(filename);
             Packages = apt_pkg.ParseTagFile(packages);