[diffoscope] 03/05: Reorder and rename FIFOFeeder arguments to prevent tools incorrectly parsing as a SyntaxError.

Chris Lamb chris at chris-lamb.co.uk
Thu Jun 8 08:20:49 CEST 2017


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

lamby pushed a commit to branch experimental
in repository diffoscope.

commit 36470ab7575065bd51ec87a6be63719b45288a8c
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Jun 7 19:46:01 2017 +0100

    Reorder and rename FIFOFeeder arguments to prevent tools incorrectly parsing as a SyntaxError.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/diff.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/diff.py b/diffoscope/diff.py
index a300217..f957bd0 100644
--- a/diffoscope/diff.py
+++ b/diffoscope/diff.py
@@ -187,7 +187,7 @@ def run_diff(fifo1, fifo2, end_nl_q1, end_nl_q2):
     return parser.diff
 
 class FIFOFeeder(threading.Thread):
-    def __init__(self, feeder, fifo_path, end_nl_q=None, *, daemon=True):
+    def __init__(self, feeder, fifo_path, end_nl_q=None, daemon=True, *args):
         os.mkfifo(fifo_path)
         super().__init__(daemon=daemon)
         self.feeder = feeder

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


More information about the diffoscope mailing list