mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Fix debug output in integration test
Recent ipaldap work has made LDAPEntry incompatible with python-ldap's LDIFWriter. Convert entry to dict before printing debug output.
This commit is contained in:
parent
9cbb94cd66
commit
1f6880c590
@ -596,7 +596,7 @@ def _entries_to_ldif(entries):
|
||||
io = StringIO.StringIO()
|
||||
writer = LDIFWriter(io)
|
||||
for entry in entries:
|
||||
writer.unparse(str(entry.dn), entry)
|
||||
writer.unparse(str(entry.dn), dict(entry))
|
||||
return io.getvalue()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user