mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
KCC: add a warning about side-effects in RepsFromTo.__setattr__
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c73a571353
commit
f1b7007883
@ -1915,7 +1915,11 @@ class RepsFromTo(object):
|
|||||||
return text
|
return text
|
||||||
|
|
||||||
def __setattr__(self, item, value):
|
def __setattr__(self, item, value):
|
||||||
|
"""Set an attribute and chyange update flag.
|
||||||
|
|
||||||
|
Be aware that setting any RepsFromTo attribute will set the
|
||||||
|
drsuapi.DRSUAPI_DRS_UPDATE_ADDRESS update flag.
|
||||||
|
"""
|
||||||
if item in ['schedule', 'replica_flags', 'transport_guid',
|
if item in ['schedule', 'replica_flags', 'transport_guid',
|
||||||
'source_dsa_obj_guid', 'source_dsa_invocation_id',
|
'source_dsa_obj_guid', 'source_dsa_invocation_id',
|
||||||
'consecutive_sync_failures', 'last_success',
|
'consecutive_sync_failures', 'last_success',
|
||||||
|
Loading…
Reference in New Issue
Block a user