From 3d9888275524e21b4e498534c6af45e8f57d2f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Fri, 11 Jul 2014 22:06:47 +0200 Subject: [PATCH] =?UTF-8?q?[trigger/host]=20M=C3=A9thode=20pour=20retourne?= =?UTF-8?q?r=20le=20contenu=20de=20factory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/trigger/host.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gestion/trigger/host.py b/gestion/trigger/host.py index 3539e2e2..128e8dda 100644 --- a/gestion/trigger/host.py +++ b/gestion/trigger/host.py @@ -25,6 +25,10 @@ class TriggerFactory(object): def get(cls, key): return cls._meths.get(key, None) + @classmethod + def get_services(cls): + return cls._meths.values() + def record(function): TriggerFactory.register(function.func_name, function)