mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Fix bug: number of found entries was reported incorrectly in some plugins.
This commit is contained in:
parent
537ba4034d
commit
34b5b0d563
@ -324,7 +324,7 @@ class dns_find(crud.Search):
|
||||
textui.print_entry(entry_attrs)
|
||||
textui.print_plain('')
|
||||
textui.print_count(
|
||||
len(result), '%i DNS zone matched.', '%i DNS zones matched.'
|
||||
len(entries), '%i DNS zone matched.', '%i DNS zones matched.'
|
||||
)
|
||||
if truncated:
|
||||
textui.print_dashed('These results are truncated.', below=False)
|
||||
@ -741,7 +741,7 @@ class dns_find_rr(Command):
|
||||
textui.print_entry(entry_attrs)
|
||||
textui.print_plain('')
|
||||
textui.print_count(
|
||||
len(result), '%i DNS resource record matched.',
|
||||
len(entries), '%i DNS resource record matched.',
|
||||
'%i DNS resource records matched.'
|
||||
)
|
||||
if truncated:
|
||||
|
@ -329,7 +329,7 @@ class host_find(crud.Search):
|
||||
textui.print_entry(entry_attrs)
|
||||
textui.print_plain('')
|
||||
textui.print_count(
|
||||
len(result), '%i host matched.', '%i hosts matched.'
|
||||
len(entries), '%i host matched.', '%i hosts matched.'
|
||||
)
|
||||
if truncated:
|
||||
textui.print_dashed('These results are truncated.', below=False)
|
||||
|
@ -305,7 +305,7 @@ class service_find(crud.Search):
|
||||
textui.print_entry(entry_attrs)
|
||||
textui.print_plain('')
|
||||
textui.print_count(
|
||||
len(result), '%i service matched.', '%i services matched.'
|
||||
len(entries), '%i service matched.', '%i services matched.'
|
||||
)
|
||||
if truncated:
|
||||
textui.print_dashed('These results are truncated.', below=False)
|
||||
|
@ -287,7 +287,7 @@ class user_find(crud.Search):
|
||||
textui.print_entry(entry_attrs)
|
||||
textui.print_plain('')
|
||||
textui.print_count(
|
||||
len(result), '%i user matched.', '%i users matched.'
|
||||
len(entries), '%i user matched.', '%i users matched.'
|
||||
)
|
||||
if truncated:
|
||||
textui.print_dashed('These results are truncated.', below=False)
|
||||
|
Loading…
Reference in New Issue
Block a user