[Reproducible-commits] [misc] 02/02: Correct ordering of --filter-ftbfs so --show-version runs after --filter-ftbfs

Chris Lamb chris at chris-lamb.co.uk
Thu Aug 11 22:28:27 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 4f02a521cac918a56a73ae037c70cb2d294b3d3a
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Aug 11 23:28:10 2016 +0100

    Correct ordering of --filter-ftbfs so --show-version runs after --filter-ftbfs
---
 filter-packages | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/filter-packages b/filter-packages
index 2c33efe..1f89eb7 100755
--- a/filter-packages
+++ b/filter-packages
@@ -71,10 +71,6 @@ def main():
         if options.comments is not None and options.comments ^ ('comments' in y):
             continue
 
-        if options.show_version:
-            print("%s %s" % (x, y.get('version', '')))
-            continue
-
         if options.filter_ftbfs:
             if not status:
                 from rblib import remote
@@ -83,6 +79,10 @@ def main():
             if status.get(x, {}).get('status', None) != 'FTBFS':
                 continue
 
+        if options.show_version:
+            print("%s %s" % (x, y.get('version', '')))
+            continue
+
         print(x)
 
     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