mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix typo
This commit is contained in:
parent
2b3c368470
commit
60af7e0fe9
1 changed files with 2 additions and 2 deletions
|
@ -1139,7 +1139,7 @@ def app_setting(app, key, value=None, delete=False):
|
|||
if value is None and not delete:
|
||||
try:
|
||||
if any(key.startswith(word+"_") for word in ["unprotected", "protected", "skipped"]):
|
||||
logger.warning(legacy_settings_warning
|
||||
logger.warning(legacy_settings_warning)
|
||||
# Well, here there are no solution to manage the root case
|
||||
# so just ignore this case, I don't think that get this setting
|
||||
# The only time that I see this is when we try to migrate to group-permission
|
||||
|
@ -1159,7 +1159,7 @@ def app_setting(app, key, value=None, delete=False):
|
|||
if delete:
|
||||
if key in app_settings:
|
||||
if any(key.startswith(word+"_") for word in ["unprotected", "protected", "skipped"]):
|
||||
logger.warning(legacy_settings_warning
|
||||
logger.warning(legacy_settings_warning)
|
||||
from permission import user_permission_list, user_permission_update, permission_delete
|
||||
|
||||
permissions = user_permission_list(full=True, full_path=False)['permissions']
|
||||
|
|
Loading…
Add table
Reference in a new issue