diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index 16be3760c..9d9aa1c4b 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -1152,7 +1152,7 @@ class ReplicationManager: except (ValueError, TypeError, KeyError): end = 0 # incremental update is done if inprogress is false and end >= start - done = inprogress and inprogress.lower() == 'false' and start <= end + done = inprogress is not None and not inprogress and start <= end logger.info("Replication Update in progress: %s: status: %s: " "start: %d: end: %d", inprogress, status, start, end)