From 3080cb0d49b4b11a9fbe391886ce91af0ad1a7b1 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 7 Jan 2023 10:13:47 +0100 Subject: [PATCH] Fix maintainership flag (#1585) --- list_builder.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/list_builder.py b/list_builder.py index 4e28f061..9aeec077 100755 --- a/list_builder.py +++ b/list_builder.py @@ -13,6 +13,9 @@ import time from collections import OrderedDict from tools.packaging_v2.convert_v1_manifest_to_v2_for_catalog import convert_v1_manifest_to_v2_for_catalog +from rich.console import Console +console = Console() + now = time.time() catalog = json.load(open("apps.json")) @@ -333,7 +336,7 @@ def build_app_dict(app, infos): "manifest": manifest, "state": infos["state"], "level": infos.get("level", "?"), - "maintained": 'package-not-maintained' in infos.get('antifeatures'), + "maintained": not 'package-not-maintained' in infos.get('antifeatures', False), "high_quality": infos.get("high_quality", False), "featured": infos.get("featured", False), "category": infos.get("category", None),