summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/plugins/dns.py4
-rw-r--r--ipalib/plugins/host.py2
-rw-r--r--ipalib/plugins/service.py2
-rw-r--r--ipalib/plugins/user.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 8e6cc3c92..c94f02fbb 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -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:
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index c1fa987b4..fe46d2d5f 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -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)
diff --git a/ipalib/plugins/service.py b/ipalib/plugins/service.py
index 2f42a2b70..03204acb3 100644
--- a/ipalib/plugins/service.py
+++ b/ipalib/plugins/service.py
@@ -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)
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index c5c99b65c..2b4ec5212 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -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)