Re-drop app_fetchlist legacy

This commit is contained in:
Alexandre Aubin 2021-10-02 20:49:26 +02:00
parent 38ea29afd1
commit 8375ef7d5b
2 changed files with 0 additions and 11 deletions

View file

@ -66,7 +66,6 @@ from yunohost.app_catalog import ( # noqa
app_catalog,
app_search,
_load_apps_catalog,
app_fetchlist,
)
logger = getActionLogger("yunohost.app")

View file

@ -23,16 +23,6 @@ APPS_CATALOG_API_VERSION = 2
APPS_CATALOG_DEFAULT_URL = "https://app.yunohost.org/default"
# Old legacy function...
def app_fetchlist():
logger.warning(
"'yunohost app fetchlist' is deprecated. Please use 'yunohost tools update --apps' instead"
)
from yunohost.tools import tools_update
tools_update(target="apps")
def app_catalog(full=False, with_categories=False):
"""
Return a dict of apps available to installation from Yunohost's app catalog