summaryrefslogtreecommitdiffstats
path: root/ipalib/parameters.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-09-15 13:04:30 +0200
committerJan Cholasta <jcholast@redhat.com>2016-05-25 16:06:26 +0200
commitb08f7715180c83b3dd15fd7547bf854a36d93278 (patch)
tree95468a25d4935252cb86c022f2cd4870e81755cf /ipalib/parameters.py
parent77e27de147729be36d19c89e21d5aa319412dc67 (diff)
downloadfreeipa-b08f7715180c83b3dd15fd7547bf854a36d93278.tar.gz
freeipa-b08f7715180c83b3dd15fd7547bf854a36d93278.tar.xz
freeipa-b08f7715180c83b3dd15fd7547bf854a36d93278.zip
ipalib: remove the unused `csv` argument of Param
https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r--ipalib/parameters.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index d1a61870a..0ff592a8d 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -375,7 +375,6 @@ class Param(ReadOnly):
parameter is not `required`
- sortorder: used to sort a list of parameters for Command. See
`Command.finalize()` for further information
- - csv: this multivalue attribute used to be given in CSV format in CLI
"""
# This is a dummy type so that most of the functionality of Param can be
@@ -413,7 +412,6 @@ class Param(ReadOnly):
('hint', (str, Gettext), None),
('alwaysask', bool, False),
('sortorder', int, 2), # see finalize()
- ('csv', bool, False),
('option_group', unicode, None),
# The 'default' kwarg gets appended in Param.__init__():
@@ -535,10 +533,6 @@ class Param(ReadOnly):
)
)
- # Check that if csv is set, multivalue is set too
- if self.csv and not self.multivalue:
- raise ValueError('%s: cannot have csv without multivalue' % self.nice)
-
# Check that all the rules are callable
self.class_rules = tuple(class_rules)
self.rules = rules