Don't check for leading/trailing spaces in a File parameter

https://fedorahosted.org/freeipa/ticket/1505
This commit is contained in:
Rob Crittenden 2011-07-22 10:23:31 -04:00 committed by Martin Kosek
parent cf161509e5
commit a49d294845

View File

@ -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),
)