mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
PEP8: fix E128: continuation line under-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:
@ -58,7 +58,7 @@ def netcmd_finddc(lp, creds, realm=None):
|
||||
if realm is None:
|
||||
realm = lp.get('realm')
|
||||
cldap_ret = net.finddc(domain=realm,
|
||||
flags=nbt.NBT_SERVER_LDAP | nbt.NBT_SERVER_DS | nbt.NBT_SERVER_WRITABLE)
|
||||
flags=nbt.NBT_SERVER_LDAP | nbt.NBT_SERVER_DS | nbt.NBT_SERVER_WRITABLE)
|
||||
return cldap_ret.pdc_dns_name
|
||||
|
||||
|
||||
@ -67,5 +67,5 @@ def netcmd_get_domain_infos_via_cldap(lp, creds, address=None):
|
||||
DC with the specified address'''
|
||||
net = Net(creds=creds, lp=lp)
|
||||
cldap_ret = net.finddc(address=address,
|
||||
flags=nbt.NBT_SERVER_LDAP | nbt.NBT_SERVER_DS)
|
||||
flags=nbt.NBT_SERVER_LDAP | nbt.NBT_SERVER_DS)
|
||||
return cldap_ret
|
||||
|
Reference in New Issue
Block a user