mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Re-drop app_fetchlist legacy
This commit is contained in:
parent
38ea29afd1
commit
8375ef7d5b
2 changed files with 0 additions and 11 deletions
|
@ -66,7 +66,6 @@ from yunohost.app_catalog import ( # noqa
|
|||
app_catalog,
|
||||
app_search,
|
||||
_load_apps_catalog,
|
||||
app_fetchlist,
|
||||
)
|
||||
|
||||
logger = getActionLogger("yunohost.app")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue