]> git.decadent.org.uk Git - dak.git/commitdiff
add-build-queue: Fix format string in error message.
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 25 Apr 2015 08:54:11 +0000 (10:54 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 25 Apr 2015 08:54:15 +0000 (10:54 +0200)
dak/admin.py

index 2c1f4c342a948e18b027b5fa32cea1c22d614169..60428cfb2afa0e5a761170ce49beeb98bcefd2ae 100755 (executable)
@@ -405,7 +405,7 @@ def __suite_add_build_queue(d, args):
     try:
         build_queue_archive = session.query(Archive).filter_by(archive_name=build_queue_archive_name).one()
     except NoResultFound:
-        die("E: Unknown archive '{1}'".format(build_queue_archive_name))
+        die("E: Unknown archive '{0}'".format(build_queue_archive_name))
 
     # Create suite
     s = Suite()