mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[mod] we always have actions
This commit is contained in:
parent
2c368596e9
commit
e65e6f5990
1 changed files with 0 additions and 6 deletions
|
@ -611,12 +611,6 @@ class ActionsMap(object):
|
||||||
# category_name is stuff like "user", "domain", "hooks"...
|
# category_name is stuff like "user", "domain", "hooks"...
|
||||||
# category_values is the values of this category (like actions)
|
# category_values is the values of this category (like actions)
|
||||||
for category_name, category_values in actionsmap.items():
|
for category_name, category_values in actionsmap.items():
|
||||||
if "actions" not in category_values:
|
|
||||||
# Invalid category without actions
|
|
||||||
logger.warning("no actions found in category '%s' in "
|
|
||||||
"namespace '%s'", category_name, namespace)
|
|
||||||
continue
|
|
||||||
|
|
||||||
actions = category_values.pop('actions')
|
actions = category_values.pop('actions')
|
||||||
|
|
||||||
# Get category parser
|
# Get category parser
|
||||||
|
|
Loading…
Add table
Reference in a new issue