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

Satyam Zode satyamz-guest at moszumanska.debian.org
Thu Jun 2 12:16:39 CEST 2016


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

satyamz-guest pushed a commit to branch new-features
in repository diffoscope.

commit faab7f2eac34558f351a5a0f2bc112fc99e3466b
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 6d8f60c..ba73ba3 100644
--- a/diffoscope/__main__.py
+++ b/diffoscope/__main__.py
@@ -88,7 +88,7 @@ def create_parser():
     parser.add_argument('file1', help='first file to compare')
     parser.add_argument('file2', help='second file to compare')
     parser.add_argument('--hide', dest='hide_profile', action='store',
-                        choices={'metadata'}, help='hide certain differences')
+                        choices=['metadata'], help='hide certain differences')
     if not tlsh:
         parser.epilog = 'File renaming detection based on fuzzy-matching is currently disabled. It can be enabled by installing the “tlsh” module available at https://github.com/trendmicro/tlsh'
     return parser

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


More information about the diffoscope mailing list