From e65e6f59906b41815402174febd5051df8721336 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 23 Jul 2017 04:46:01 +0200 Subject: [PATCH] [mod] we always have actions --- moulinette/actionsmap.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index 5c468a42..6b36d32c 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -611,12 +611,6 @@ class ActionsMap(object): # category_name is stuff like "user", "domain", "hooks"... # category_values is the values of this category (like actions) 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') # Get category parser