Fix dnsrecord-del interactive mode

User was not able to select multiple values in dnsrecord-del
interactive mode.

https://fedorahosted.org/freeipa/ticket/2581
This commit is contained in:
Martin Kosek 2012-03-27 13:02:35 +02:00
parent 0024024897
commit ef21a286f0

View File

@ -2543,8 +2543,7 @@ class dnsrecord_del(LDAPUpdate):
if user_del_value is True:
deleted_values.append(rec_value)
if deleted_values:
deleted_list = u','.join(deleted_values)
kw[param.name] = param(deleted_list)
kw[param.name] = tuple(deleted_values)
api.register(dnsrecord_del)