[diffoscope] 06/06: difference: modifies variable asmnt to avoid index oor
Juliana Oliveira
jwnx-guest at moszumanska.debian.org
Tue Jan 9 05:04:26 CET 2018
This is an automated email from the git hooks/post-receive script.
jwnx-guest pushed a commit to branch jwnx_parallel_diffoscope
in repository diffoscope.
commit 5fc2094c3994ebf785fc6336cb0acf4c73870346
Author: Juliana Oliveira <juliana.orod at gmail.com>
Date: Tue Jan 9 02:00:04 2018 -0200
difference: modifies variable asmnt to avoid index oor
---
diffoscope/difference.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/diffoscope/difference.py b/diffoscope/difference.py
index a0893dc..965e395 100644
--- a/diffoscope/difference.py
+++ b/diffoscope/difference.py
@@ -248,10 +248,10 @@ class Difference(object):
command.start()
return feeder, command, False
- result = pool.map(command_and_feeder, [path1, path2])
- feeder1, command1, excluded1 = result[0]
- feeder2, command2, excluded2 = result[1]
+ [[feeder1, command1, excluded1],
+ [feeder2, command2, exclude2]] = pool.map(command_and_feeder,
+ [path1, path2])
if not feeder1 or not feeder2:
assert excluded1 or excluded2
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list