easy way to add a group

This commit is contained in:
Emmanuel Garette 2019-11-29 12:07:43 +01:00
parent 323d1b83d6
commit 212fd5f16d
1 changed files with 3 additions and 0 deletions

View File

@ -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.