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
This commit is contained in:
Tomas Babej
2012-12-11 12:34:28 +01:00
committed by Martin Kosek
parent 4d6de44d3d
commit 7f27a18b51
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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: