]> git.decadent.org.uk Git - dak.git/commitdiff
fix arguments for format string
authorTorsten Werner <twerner@debian.org>
Wed, 29 Dec 2010 23:13:32 +0000 (00:13 +0100)
committerTorsten Werner <twerner@debian.org>
Fri, 31 Dec 2010 10:50:05 +0000 (11:50 +0100)
... to avoid exception during import

Signed-off-by: Torsten Werner <twerner@debian.org>
dak/import_keyring.py

index cedd60c2084424d28f11ebbaf50d07df47c57f20..f6cc7e06121ad092738c8456aa4d583325f20766 100755 (executable)
@@ -245,7 +245,8 @@ def main():
                         session.flush()
 
                 else:
-                    print "Key %s exists in both %s and %s keyrings. Not demoting." % (oldkeyring.keyring_name,
+                    print "Key %s exists in both %s and %s keyrings. Not demoting." % (f,
+                                                                                       oldkeyring.keyring_name,
                                                                                        keyring.keyring_name)
 
     # All done!