[Reproducible-commits] [misc] 01/02: Use str.join over %s-style interpolation
Chris Lamb
chris at chris-lamb.co.uk
Tue Aug 23 17:50:17 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 dbf99d0b6a4ab5ec4e1d49ed2394ccfff6e479b0
Author: Chris Lamb <lamby at debian.org>
Date: Tue Aug 23 18:49:57 2016 +0100
Use str.join over %s-style interpolation
---
filter-packages | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/filter-packages b/filter-packages
index 64331f2..785c7f4 100755
--- a/filter-packages
+++ b/filter-packages
@@ -92,11 +92,11 @@ def main():
results = random.sample(results, options.random)
for x, y in results:
- print("%s%s%s" % (
+ print("".join((
x,
SHOW.get(options.show, ''),
- y.get(options.show, '')),
- )
+ y.get(options.show, ''),
+ )))
return 0
--
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