mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
samba-tool: Fix indentation
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
This commit is contained in:
parent
e93ed5f69a
commit
807ff1e343
@ -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)
|
||||
|
@ -839,8 +839,8 @@ accountExpires: %u
|
||||
try:
|
||||
seq = super(SamDB, self).sequence_number(seq_type)
|
||||
except:
|
||||
self.transaction_cancel()
|
||||
raise
|
||||
self.transaction_cancel()
|
||||
raise
|
||||
else:
|
||||
self.transaction_commit()
|
||||
return seq
|
||||
|
Loading…
Reference in New Issue
Block a user