[Reproducible-commits] [misc] 06/06: Prefer interpolation over concatenation
Chris Lamb
lamby at moszumanska.debian.org
Tue Jul 7 08:32:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository misc.
commit 5afc01c2e5919189092da721a2e654f25e81e032
Author: Chris Lamb <lamby at debian.org>
Date: Tue Jul 7 09:32:17 2015 +0100
Prefer interpolation over concatenation
---
edit-notes | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/edit-notes b/edit-notes
index 45269bc..d252812 100755
--- a/edit-notes
+++ b/edit-notes
@@ -37,7 +37,7 @@ if __name__ == '__main__':
try:
status = testedpkgs[package]
except KeyError:
- print("package " + package + " appears not to exist; skipping")
+ print("package %s appears not to exist; skipping" % package)
continue
data = notes[package] = { 'version': status['version'] }
if args.take_version:
@@ -48,8 +48,7 @@ if __name__ == '__main__':
package_issues = data.get('issues', [])
if fix in package_issues:
if args.verbose:
- print('https://reproducible.debian.net/' + package +
- ' seems to be fixed')
+ print('https://reproducible.debian.net/%s seems to be fixed' % package)
package_issues.remove(fix)
for src, dst in (
--
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