From 8d9605161cf7fdabd7fc4023c8da5b161f8cdda4 Mon Sep 17 00:00:00 2001 From: Axolotle Date: Sun, 4 Dec 2022 13:15:29 +0100 Subject: [PATCH] add some comments Co-authored-by: Alexandre Aubin --- src/app.py | 1 + src/app_catalog.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app.py b/src/app.py index 946b46705..06310871e 100644 --- a/src/app.py +++ b/src/app.py @@ -1028,6 +1028,7 @@ def app_install( ) # Override manifest name by given label + # This info is also later picked-up by the 'permission' resource initialization if label: manifest["name"] = label diff --git a/src/app_catalog.py b/src/app_catalog.py index ea9b0f53e..22a878579 100644 --- a/src/app_catalog.py +++ b/src/app_catalog.py @@ -272,6 +272,7 @@ def _load_apps_catalog(): merged_catalog["apps"][app] = info # Annnnd categories + antifeatures + # (we use .get here, only because the dev catalog doesnt include the categories/antifeatures keys) merged_catalog["categories"] += apps_catalog_content.get("categories", []) merged_catalog["antifeatures"] += apps_catalog_content.get("antifeatures", [])