Commit 686f3afe authored by Mattia Rizzolo's avatar Mattia Rizzolo

comparators.json: fixup 7b8998e5 for py < 3.6: decode the input if we get that far to try a .load()

Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <>
parent 8fdd327f
......@@ -46,8 +46,8 @@ class JSONFile(File):
file.parsed = json.load(
file.parsed = json.loads('utf-8', errors='ignore'),
except ValueError:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment