mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Remove useless dict lookup, as the keys are always the same two
This commit is contained in:
parent
14a8445375
commit
e653e0acd9
1 changed files with 3 additions and 1 deletions
|
@ -479,8 +479,10 @@ class ConfigPanel:
|
||||||
"changes_validated",
|
"changes_validated",
|
||||||
"result",
|
"result",
|
||||||
"max_progression",
|
"max_progression",
|
||||||
|
# 'properties' and 'defaults' are used in format_description levels
|
||||||
|
"properties",
|
||||||
|
"defaults",
|
||||||
]
|
]
|
||||||
forbidden_keywords += format_description["sections"]
|
|
||||||
|
|
||||||
for _, _, option in self._iterate():
|
for _, _, option in self._iterate():
|
||||||
if option["id"] in forbidden_keywords:
|
if option["id"] in forbidden_keywords:
|
||||||
|
|
Loading…
Add table
Reference in a new issue