mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] implement ljf comment
This commit is contained in:
parent
50cc3536ac
commit
4be2720cb0
1 changed files with 3 additions and 5 deletions
|
@ -173,9 +173,7 @@ def app_list(filter=None, raw=False, installed=False, with_backup=False):
|
||||||
for applist in applists:
|
for applist in applists:
|
||||||
with open(os.path.join(REPO_PATH, applist + '.json')) as json_list:
|
with open(os.path.join(REPO_PATH, applist + '.json')) as json_list:
|
||||||
for app, info in json.load(json_list).items():
|
for app, info in json.load(json_list).items():
|
||||||
if app in app_dict:
|
if app not in app_dict:
|
||||||
continue
|
|
||||||
|
|
||||||
info['repository'] = applist
|
info['repository'] = applist
|
||||||
app_dict[app] = info
|
app_dict[app] = info
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue