diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-09-15 13:04:30 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-05-25 16:06:26 +0200 |
commit | b08f7715180c83b3dd15fd7547bf854a36d93278 (patch) | |
tree | 95468a25d4935252cb86c022f2cd4870e81755cf /ipalib/parameters.py | |
parent | 77e27de147729be36d19c89e21d5aa319412dc67 (diff) | |
download | freeipa-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.py | 6 |
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 |