mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
PEP8: fix E125: continuation line with same indent as next logical line
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:
@ -530,7 +530,7 @@ def delta_update_basesamdb(refsampath, sampath, creds, session, lp, message):
|
||||
delta = sam.msg_diff(empty, refentry)
|
||||
message(CHANGE, "Adding %s to sam db" % str(refentry.dn))
|
||||
if str(refentry.dn) == "@PROVISION" and\
|
||||
delta.get(samba.provision.LAST_PROVISION_USN_ATTRIBUTE):
|
||||
delta.get(samba.provision.LAST_PROVISION_USN_ATTRIBUTE):
|
||||
delta.remove(samba.provision.LAST_PROVISION_USN_ATTRIBUTE)
|
||||
delta.dn = refentry.dn
|
||||
sam.add(delta)
|
||||
@ -539,7 +539,7 @@ def delta_update_basesamdb(refsampath, sampath, creds, session, lp, message):
|
||||
if str(refentry.dn) == "@ATTRIBUTES":
|
||||
deltaattr = sam.msg_diff(refentry, entry[0])
|
||||
if str(refentry.dn) == "@PROVISION" and\
|
||||
delta.get(samba.provision.LAST_PROVISION_USN_ATTRIBUTE):
|
||||
delta.get(samba.provision.LAST_PROVISION_USN_ATTRIBUTE):
|
||||
delta.remove(samba.provision.LAST_PROVISION_USN_ATTRIBUTE)
|
||||
if len(delta.items()) > 1:
|
||||
delta.dn = refentry.dn
|
||||
|
Reference in New Issue
Block a user