build: fix compatibility with python 3.6
authorHuangbin Zhan <zhanhb88@gmail.com>
Mon, 6 Jul 2020 23:14:42 +0000 (07:14 +0800)
committerPetr Štetiar <ynezz@true.cz>
Tue, 7 Jul 2020 17:47:24 +0000 (19:47 +0200)
commit3caad5150c2011a7dac462acaa06d0e69f8ed005
tree3efe056bc67384bfc03080b58e2461c1e7df73a3
parentab26022cc104a2dd82b7bb7e6468f693b68e75ed
build: fix compatibility with python 3.6

On a system python3 is linked to python3.6, fail to perform json_overview_image_info
 and got `TypeError: __init__() got an unexpected keyword argument 'capture_output'`.
This patch emulate the behaviour on python 3.7+.

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
scripts/json_overview_image_info.py