From 212fd5f16d9deaae0b776cc4873cae38444e125a Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 29 Nov 2019 12:07:43 +0100 Subject: [PATCH] easy way to add a group --- tiramisu/setting.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tiramisu/setting.py b/tiramisu/setting.py index 4cf5161..93f754e 100644 --- a/tiramisu/setting.py +++ b/tiramisu/setting.py @@ -294,6 +294,9 @@ class GroupModule(_NameSpace): """ pass + def addgroup(self, name): + setattr(groups, name, groups.GroupType(name)) + class OwnerModule(_NameSpace): """emulates a module to manage unique owner names.