mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
PEP8: fix E127: continuation line over-indented for visual indent
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:
@@ -101,7 +101,7 @@ class cmd_spn_add(Command):
|
||||
scope=ldb.SCOPE_SUBTREE)
|
||||
if len(res) != 0 and not force:
|
||||
raise CommandError("Service principal %s already"
|
||||
" affected to another user" % name)
|
||||
" affected to another user" % name)
|
||||
|
||||
(cleaneduser, realm, domain) = _get_user_realm_domain(user)
|
||||
res = sam.search(
|
||||
@@ -128,7 +128,7 @@ class cmd_spn_add(Command):
|
||||
sam.modify(msg)
|
||||
else:
|
||||
raise CommandError("Service principal %s already"
|
||||
" affected to %s" % (name, user))
|
||||
" affected to %s" % (name, user))
|
||||
else:
|
||||
raise CommandError("User %s not found" % user)
|
||||
|
||||
@@ -166,7 +166,7 @@ class cmd_spn_delete(Command):
|
||||
result = elem
|
||||
if result is None:
|
||||
raise CommandError("Unable to find user %s with"
|
||||
" spn %s" % (user, name))
|
||||
" spn %s" % (user, name))
|
||||
else:
|
||||
if len(res) != 1:
|
||||
listUser = ""
|
||||
|
||||
Reference in New Issue
Block a user