]> git.decadent.org.uk Git - dak.git/commitdiff
Fix check_indices_files_exist in check-archive.
authorChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 11:48:04 +0000 (11:48 +0000)
committerChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 11:48:04 +0000 (11:48 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/check_archive.py

index d77f3fd0fd674be44b899a402c4bc8048f85e564..ceb8cb6dc147449322bcb12fdae0eee30ccc9fc4 100755 (executable)
@@ -427,8 +427,8 @@ def check_indices_files_exist():
     """
     for suite in [ "stable", "testing", "unstable" ]:
         for component in Cnf.ValueList("Suite::%s::Components" % (suite)):
-            architectures = database.get_suite_architectures(suite)
-            for arch in [ i.lower() for i in architectures ]:
+            architectures = get_suite_architectures(suite)
+            for arch in [ i.arch_string.lower() for i in architectures ]:
                 if arch == "source":
                     validate_sources(suite, component)
                 elif arch == "all":