diff options
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 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. |