diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-14 22:59:44 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-14 22:59:44 -0700 |
commit | fdda31c50bcf79ef4e4017dc8075d55b3e5df466 (patch) | |
tree | ab8b4c9e95d03114f795cef357b197a87b61f712 /ipalib/plugins/f_host.py | |
parent | a10144be247d109e0bcfb4d5b7812bef508ab8d6 (diff) | |
download | freeipa.git-fdda31c50bcf79ef4e4017dc8075d55b3e5df466.tar.gz freeipa.git-fdda31c50bcf79ef4e4017dc8075d55b3e5df466.tar.xz freeipa.git-fdda31c50bcf79ef4e4017dc8075d55b3e5df466.zip |
Fixed a problem in the host plugin module; added not in TODO about using Param.query
Diffstat (limited to 'ipalib/plugins/f_host.py')
-rw-r--r-- | ipalib/plugins/f_host.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/ipalib/plugins/f_host.py b/ipalib/plugins/f_host.py index bb800b50..3fcda77c 100644 --- a/ipalib/plugins/f_host.py +++ b/ipalib/plugins/f_host.py @@ -206,14 +206,18 @@ api.register(host_mod) class host_find(crud.Find): 'Search the hosts.' + takes_options = ( Flag('all', doc='Retrieve all attributes'), ) - def get_args(self): - """ - Override Find.get_args() so we can exclude the validation rules - """ - yield self.obj.primary_key.__clone__(rules=tuple()) + + # FIXME: This should no longer be needed with the Param.query kwarg. +# def get_args(self): +# """ +# Override Find.get_args() so we can exclude the validation rules +# """ +# yield self.obj.primary_key.__clone__(rules=tuple()) + def execute(self, term, **kw): ldap = self.api.Backend.ldap |