summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2012-10-30 09:44:50 -0400
committerMartin Kosek <mkosek@redhat.com>2012-12-11 12:34:28 +0100
commit7f27a18b519133d918db83e722ee2339388a02a9 (patch)
tree7994b867828f342c85881bdd84ca9752e7d3c96b /ipalib
parent4d6de44d3deb321aaf0fa3038f2770aaaa449783 (diff)
downloadfreeipa-7f27a18b519133d918db83e722ee2339388a02a9.tar.gz
freeipa-7f27a18b519133d918db83e722ee2339388a02a9.tar.xz
freeipa-7f27a18b519133d918db83e722ee2339388a02a9.zip
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
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/crud.py2
1 files changed, 1 insertions, 1 deletions
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: