summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-07-22 10:23:31 -0400
committerMartin Kosek <mkosek@redhat.com>2011-07-25 09:10:27 +0200
commita49d294845b37ec6fe581f5342d5b778f5ebed2d (patch)
tree45a8ab56f9ba48b4bdb5c6632e7f372fb753ae20
parentcf161509e53b3b46a9b911840a6796427c263781 (diff)
downloadfreeipa-a49d294845b37ec6fe581f5342d5b778f5ebed2d.tar.gz
freeipa-a49d294845b37ec6fe581f5342d5b778f5ebed2d.tar.xz
freeipa-a49d294845b37ec6fe581f5342d5b778f5ebed2d.zip
Don't check for leading/trailing spaces in a File parameter
https://fedorahosted.org/freeipa/ticket/1505
-rw-r--r--ipalib/parameters.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index c1f3bcaab..235eeb64b 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -1493,9 +1493,10 @@ class File(Str):
Accepts file names and loads their content into the parameter value.
"""
- kwargs = Str.kwargs + (
+ kwargs = Data.kwargs + (
# valid for CLI, other backends (e.g. webUI) can ignore this
('stdin_if_missing', bool, False),
+ ('noextrawhitespace', bool, False),
)