From 3a96cbc5184688830edf79e4831f729a1bf7aa44 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 14 Feb 2013 11:49:47 -0500 Subject: Drop support for CSV in the CLI client Ticket: https://fedorahosted.org/freeipa/ticket/3352 Design: http://freeipa.org/page/V3/Drop_CSV --- ipalib/frontend.py | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'ipalib/frontend.py') diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 06259823c..0331dc52b 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. -- cgit