[misc] 03/03: Use .format() over string interpolation here.
Chris Lamb
chris at chris-lamb.co.uk
Thu Sep 15 16:30:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository misc.
commit 1576c5dd2ee35512777e4a6857122a4e27ce48e8
Author: Chris Lamb <lamby at debian.org>
Date: Thu Sep 15 17:30:37 2016 +0100
Use .format() over string interpolation here.
---
edit-notes | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/edit-notes b/edit-notes
index 6dd0d5e..a1053ee 100755
--- a/edit-notes
+++ b/edit-notes
@@ -84,6 +84,6 @@ if __name__ == '__main__':
try:
notes.pop(pkg)
except KeyError:
- print('%s is not in the notes, skipping removing' % pkg)
+ print('W: {} is not in the notes, skipping removing'.format(pkg))
yamlfiles.write_out(notes)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list