[Reproducible-commits] [misc] 05/05: No need for options.show conditional.
Chris Lamb
chris at chris-lamb.co.uk
Thu Aug 11 22:40:19 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 be90c3c2236ba36ab8c716e469ceae234160d091
Author: Chris Lamb <lamby at debian.org>
Date: Thu Aug 11 23:40:14 2016 +0100
No need for options.show conditional.
---
filter-packages | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/filter-packages b/filter-packages
index 9e42335..d15a407 100755
--- a/filter-packages
+++ b/filter-packages
@@ -83,11 +83,11 @@ def main():
if status.get(x, {}).get('status', None) != 'FTBFS':
continue
- if options.show:
- print("%s%s%s" % (x, SHOW[options.show], y.get(options.show, '')))
- continue
-
- print(x)
+ print("%s%s%s" % (
+ x,
+ SHOW.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