mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Don't break json output
This commit is contained in:
parent
59285decfc
commit
24f7031aee
1 changed files with 1 additions and 1 deletions
|
@ -1260,7 +1260,7 @@ class AppCatalog(TestSuite):
|
||||||
json_at_this_date = json.loads(raw_json_at_this_date)
|
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..
|
# This can happen in stupid cases where there was a temporary syntax error in the json..
|
||||||
except json.decoder.JSONDecodeError:
|
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
|
continue
|
||||||
|
|
||||||
yield (t, json_at_this_date.get(self.app_id))
|
yield (t, json_at_this_date.get(self.app_id))
|
||||||
|
|
Loading…
Reference in a new issue