easy way to add a group
This commit is contained in:
parent
323d1b83d6
commit
212fd5f16d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue