easy way to add a group
This commit is contained in:
parent
323d1b83d6
commit
212fd5f16d
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue