1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

KCC: Comment about schedule types

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:
Douglas Bagnall 2015-04-23 17:08:34 +12:00 committed by Andrew Bartlett
parent 71045b3325
commit 4d0f892a1a

View File

@ -1123,6 +1123,8 @@ class NTDSConnection(object):
"""Returns True if our schedule includes at least one
replication interval within the week. False otherwise
"""
# replinfo schedule is None means "always", while
# NTDSConnection schedule is None means "never".
if self.schedule is None or self.schedule.dataArray[0] is None:
return False