[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 06/11] Fix check_indices_files_exist in check-archive.



Signed-off-by: Chris Lamb <lamby@debian.org>
---
 dak/check_archive.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dak/check_archive.py b/dak/check_archive.py
index d77f3fd..ceb8cb6 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":
-- 
1.6.3.3



Reply to: