From 24f7031aeebc79236d85cbab198733571f538321 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 13 Apr 2021 00:23:31 +0200 Subject: [PATCH] Don't break json output --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 869ac5f..7cb354f 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1260,7 +1260,7 @@ class AppCatalog(TestSuite): json_at_this_date = json.loads(raw_json_at_this_date) # This can happen in stupid cases where there was a temporary syntax error in the json.. except json.decoder.JSONDecodeError: - print("Failed to parse apps.json history for at commit %s / %s ... ignoring " % (commit, t)) + _print("Failed to parse apps.json history for at commit %s / %s ... ignoring " % (commit, t)) continue yield (t, json_at_this_date.get(self.app_id))