From: Chris Lamb <lamby@debian.org>
Date: Fri, 30 Oct 2009 11:48:04 +0000 (+0000)
Subject: Fix check_indices_files_exist in check-archive.
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c7cd84ed41a5b670db475483b5ed3016931c223d;p=dak.git

Fix check_indices_files_exist in check-archive.

Signed-off-by: Chris Lamb <lamby@debian.org>
---

diff --git a/dak/check_archive.py b/dak/check_archive.py
index d77f3fd0..ceb8cb6d 100755
--- a/dak/check_archive.py
+++ b/dak/check_archive.py
@@ -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":