mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] remove useless condition
This commit is contained in:
parent
1bcf14d1d0
commit
fde312ad41
1 changed files with 20 additions and 20 deletions
|
@ -315,7 +315,7 @@ def tools_update(ignore_apps=False, ignore_packages=False):
|
||||||
except MoulinetteError:
|
except MoulinetteError:
|
||||||
pass
|
pass
|
||||||
app_list = os.listdir(apps_setting_path)
|
app_list = os.listdir(apps_setting_path)
|
||||||
if len(app_list) > 0:
|
|
||||||
for app_id in app_list:
|
for app_id in app_list:
|
||||||
if '__' in app_id:
|
if '__' in app_id:
|
||||||
original_app_id = app_id[:app_id.index('__')]
|
original_app_id = app_id[:app_id.index('__')]
|
||||||
|
|
Loading…
Add table
Reference in a new issue