LDAP Updater may crash IPA installer

Fix a logging error in ipa-ldap-updater which may cause IPA
installer to crash.

https://fedorahosted.org/freeipa/ticket/1199
This commit is contained in:
Martin Kosek 2011-05-02 13:55:33 +02:00 committed by Rob Crittenden
parent c6763d0a58
commit ea5efc5dfa

View File

@ -467,7 +467,7 @@ class LDAPUpdate:
# with single-value attributes.
if len(e) == 0:
e.append(v)
logging.debug('addifnew: set %s to %s', (k, e))
logging.debug('addifnew: set %s to %s', k, e)
entry.setValues(k, e)
elif utype == 'only':
logging.debug("only: set %s to '%s', current value %s", k, v, e)