mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix error if more than one values is being set in an only. The first entry wasn't being properly converted into a list so subsequent values caused it to crap out.
467102
This commit is contained in:
parent
f02d1429ca
commit
4862a8f9d9
@ -430,7 +430,7 @@ class LDAPUpdate:
|
|||||||
if only.get(k):
|
if only.get(k):
|
||||||
e.append(v)
|
e.append(v)
|
||||||
else:
|
else:
|
||||||
e = v
|
e = [v]
|
||||||
only[k] = True
|
only[k] = True
|
||||||
entry.setValues(k, e)
|
entry.setValues(k, e)
|
||||||
logging.debug('only: updated value %s', e)
|
logging.debug('only: updated value %s', e)
|
||||||
|
Loading…
Reference in New Issue
Block a user