From 0476947fa4da88744730e9918c4e2be9a38c142a Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 2 Dec 2012 23:21:44 +0100 Subject: [PATCH] daklib/checks.py: fix index in format string --- daklib/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/checks.py b/daklib/checks.py index 0607ab94..3c22f390 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -668,7 +668,7 @@ class SuiteArchitectureCheck(Check): for arch in upload.changes.architectures: query = session.query(Architecture).filter_by(arch_string=arch).filter(Architecture.suites.contains(suite)) if query.first() is None: - raise Reject('Architecture {0} is not allowed in suite {2}'.format(arch, suite.suite_name)) + raise Reject('Architecture {0} is not allowed in suite {1}'.format(arch, suite.suite_name)) return True -- 2.39.5