From 34b5b0d56363920d14062ef5816cd70efb145537 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Thu, 2 Jul 2009 15:19:54 +0200 Subject: Fix bug: number of found entries was reported incorrectly in some plugins. --- ipalib/plugins/dns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/plugins/dns.py') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 8e6cc3c9..c94f02fb 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: -- cgit