LdapClient.update_need: fix handling None changes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
025fd12dc4
commit
cbb97ae726
1 changed files with 2 additions and 0 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue