diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-02-14 11:49:47 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-02-22 17:20:35 +0100 |
commit | 3a96cbc5184688830edf79e4831f729a1bf7aa44 (patch) | |
tree | 7374fd13c7b7fee9bac141a5f36118cc1826fca4 /ipalib/frontend.py | |
parent | b4915bd2fde861279ba18acf940d7a5880a58ba6 (diff) | |
download | freeipa.git-3a96cbc5184688830edf79e4831f729a1bf7aa44.tar.gz freeipa.git-3a96cbc5184688830edf79e4831f729a1bf7aa44.tar.xz freeipa.git-3a96cbc5184688830edf79e4831f729a1bf7aa44.zip |
Drop support for CSV in the CLI client
Ticket: https://fedorahosted.org/freeipa/ticket/3352
Design: http://freeipa.org/page/V3/Drop_CSV
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r-- | ipalib/frontend.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 06259823..0331dc52 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -560,26 +560,6 @@ class Command(HasParam): if name in params: yield(name, params[name]) - def split_csv(self, **kw): - """ - Return a dictionary of values where values are decoded from CSV. - - For example: - - >>> class my_command(Command): - ... takes_options = ( - ... Param('flags', multivalue=True, csv=True), - ... ) - ... - >>> c = my_command() - >>> c.finalize() - >>> c.split_csv(flags=u'public,replicated') - {'flags': (u'public', u'replicated')} - """ - return dict( - (k, self.params[k].split_csv(v)) for (k, v) in kw.iteritems() - ) - def normalize(self, **kw): """ Return a dictionary of normalized values. |