LdapClient.update_need: fix handling None changes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2022-06-01 18:46:37 +02:00
parent 025fd12dc4
commit cbb97ae726

View file

@ -697,6 +697,8 @@ class LdapClient:
:param changes: The changes as returned by get_changes
"""
if changes is None:
return False
assert self._conn or self.initialize()
return self._conn.update_need(
changes[0], changes[1],