mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
Always print the dn first when printing an entry
This commit is contained in:
@@ -248,6 +248,9 @@ class textui(backend.Backend):
|
||||
uid: 'flast'
|
||||
"""
|
||||
assert type(entry) is dict
|
||||
if entry.get('dn'):
|
||||
self.print_indented('dn: %s' % (repr(entry['dn'])), indent)
|
||||
del entry['dn']
|
||||
for key in sorted(entry):
|
||||
value = entry[key]
|
||||
if type(value) in (list, tuple):
|
||||
|
||||
Reference in New Issue
Block a user