Decorator to register an action decorator

def action_decorator(name):
    """Decorator to register an action decorator
    """
    def decorator(cls):
        action_decorators.append((name, cls))
        return cls
    return decorator