mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers2.1: remove legacy code in setting handling
This commit is contained in:
parent
29d6dd685a
commit
14ba98a232
1 changed files with 0 additions and 2 deletions
|
@ -85,8 +85,6 @@ else:
|
|||
if key in settings:
|
||||
del settings[key]
|
||||
elif action == "set":
|
||||
if key in ['redirected_urls', 'redirected_regex']:
|
||||
value = yaml.safe_load(value)
|
||||
settings[key] = value
|
||||
else:
|
||||
raise ValueError("action should either be get, set or delete")
|
||||
|
|
Loading…
Add table
Reference in a new issue