summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-07-02 15:19:54 +0200
committerRob Crittenden <rcritten@redhat.com>2009-07-02 13:33:05 -0400
commit34b5b0d56363920d14062ef5816cd70efb145537 (patch)
treeedb58efbf7afa3e5d5e0c9c096fdc38c418b43d6 /ipalib/plugins/host.py
parent537ba4034d6d5af77b13ff0d954247bb39b1fa5a (diff)
downloadfreeipa-34b5b0d56363920d14062ef5816cd70efb145537.tar.gz
freeipa-34b5b0d56363920d14062ef5816cd70efb145537.tar.xz
freeipa-34b5b0d56363920d14062ef5816cd70efb145537.zip
Fix bug: number of found entries was reported incorrectly in some plugins.
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r--ipalib/plugins/host.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index c1fa987b..fe46d2d5 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)