mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 17:02:02 -05: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:
1 parent
f02d1429ca
commit
4862a8f9d9
1 file changed
+1
-1
@@ -430,7 +430,7 @@ class LDAPUpdate:
|
||||
if only.get(k):
|
||||
e.append(v)
|
||||
else:
|
||||
e = v
|
||||
e = [v]
|
||||
only[k] = True
|
||||
entry.setValues(k, e)
|
||||
logging.debug('only: updated value %s', e)
|
||||
|
||||
Reference in new issue
Block a user