[diffoscope] 02/12: Changed 'choices' to list type for achieving reproducible order Suggested by Mattia Rizzolo

Maria Glukhova siamezzze-guest at moszumanska.debian.org
Wed Mar 8 15:59:09 CET 2017


This is an automated email from the git hooks/post-receive script.

siamezzze-guest pushed a commit to branch siamezzze/hide-profiles-experiment
in repository diffoscope.

commit 28f15f6a1986ee2e01db31cf9a82afd7025bc2c2
Author: Satyam Zode <satyamzode at gmail.com>
Date:   Thu Jun 2 15:33:46 2016 +0530

     Changed 'choices' to list type for achieving reproducible order
     Suggested by Mattia Rizzolo
---
 diffoscope/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/main.py b/diffoscope/main.py
index 0038f68..b8aec68 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -155,7 +155,7 @@ def create_parser():
                         'output. (0 to disable, default: 0)',
                         default=0).completer=RangeCompleter(0, 0, 200)
     group2.add_argument('--hide', dest='hide_profile', action='store',
-                        choices={'metadata'}, help='hide certain differences')
+                        choices=['metadata'], help='hide certain differences')
 
     group3 = parser.add_argument_group('diff calculation')
     group3.add_argument('--new-file', dest='new_file', action='store_true',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list