[Reproducible-commits] [diffoscope] 15/23: Use right argument order when creating CalledProcessError
    Jérémy Bobbio 
    lunar at moszumanska.debian.org
       
    Sat Sep 19 23:18:21 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/py3
in repository diffoscope.
commit cd22d34cab5406ea824bc74444d896ec0ed07b20
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sat Sep 19 23:54:03 2015 +0200
    Use right argument order when creating CalledProcessError
---
 diffoscope/difference.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/difference.py b/diffoscope/difference.py
index 879d917..18d5d27 100644
--- a/diffoscope/difference.py
+++ b/diffoscope/difference.py
@@ -155,7 +155,7 @@ def run_diff(fd1, fd2, end_nl_q1, end_nl_q2):
     t_read.join()
     p.wait()
     if not parser.success and p.returncode not in (0, 1):
-        raise subprocess.CalledProcessError(cmd, p.returncode, output=diff)
+        raise subprocess.CalledProcessError(p.returncode, cmd, output=diff)
     if p.returncode == 0:
         return None
     return parser.diff
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
    
    
More information about the Reproducible-commits
mailing list