mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
PEP8: fix E302: expected 2 blank lines, found 1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -359,6 +359,7 @@ class cmd_group_list(Command):
|
||||
for msg in res:
|
||||
self.outf.write("%s\n" % msg.get("samaccountname", idx=0))
|
||||
|
||||
|
||||
class cmd_group_list_members(Command):
|
||||
"""List all members of an AD group.
|
||||
|
||||
@ -422,6 +423,7 @@ samba-tool group listmembers \"Domain Users\" -H ldap://samba.samdom.example.com
|
||||
except Exception as e:
|
||||
raise CommandError('Failed to list members of "%s" group ' % groupname, e)
|
||||
|
||||
|
||||
class cmd_group_move(Command):
|
||||
"""Move a group to an organizational unit/container.
|
||||
|
||||
@ -501,6 +503,7 @@ class cmd_group_move(Command):
|
||||
self.outf.write('Moved group "%s" into "%s"\n' %
|
||||
(groupname, full_new_parent_dn))
|
||||
|
||||
|
||||
class cmd_group_show(Command):
|
||||
"""Display a group AD object.
|
||||
|
||||
@ -580,6 +583,7 @@ Example3 shows how to display a users objectGUID and member attributes.
|
||||
user_ldif = samdb.write_ldif(msg, ldb.CHANGETYPE_NONE)
|
||||
self.outf.write(user_ldif)
|
||||
|
||||
|
||||
class cmd_group(SuperCommand):
|
||||
"""Group management."""
|
||||
|
||||
|
Reference in New Issue
Block a user