From 7f27a18b519133d918db83e722ee2339388a02a9 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 30 Oct 2012 09:44:50 -0400 Subject: Relax restriction for leading/trailing whitespaces in *-find commands All *-find commands now enable leading/trailing whitespaces in the search phrase. Behaviour has been implemented directly into crud.Search class. IPA_API_VERSION_MINOR incremented to 45. https://fedorahosted.org/freeipa/ticket/2981 --- ipalib/crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/crud.py') diff --git a/ipalib/crud.py b/ipalib/crud.py index 12edbf58a..d54b91fd7 100644 --- a/ipalib/crud.py +++ b/ipalib/crud.py @@ -230,7 +230,7 @@ class Search(Method): has_output = output.standard_list_of_entries def get_args(self): - yield parameters.Str('criteria?') + yield parameters.Str('criteria?', noextrawhitespace=False) def get_options(self): if self.extra_options_first: -- cgit