summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/netcmd/group.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/samba/netcmd/group.py')
-rw-r--r--source4/scripting/python/samba/netcmd/group.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/netcmd/group.py b/source4/scripting/python/samba/netcmd/group.py
index 42c236bc95..3a5ef0136c 100644
--- a/source4/scripting/python/samba/netcmd/group.py
+++ b/source4/scripting/python/samba/netcmd/group.py
@@ -96,9 +96,9 @@ Example2 adds a new distribution group to the local server. The command is run
group_type=None, description=None, mail_address=None, notes=None):
if (group_type or "Security") == "Security":
- gtype = security_group.get(group_scope, GTYPE_SECURITY_GLOBAL_GROUP)
+ gtype = security_group.get(group_scope, GTYPE_SECURITY_GLOBAL_GROUP)
else:
- gtype = distribution_group.get(group_scope, GTYPE_DISTRIBUTION_GLOBAL_GROUP)
+ gtype = distribution_group.get(group_scope, GTYPE_DISTRIBUTION_GLOBAL_GROUP)
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp, fallback_machine=True)