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

https://fedorahosted.org/freeipa/ticket/2581

>From eccd9d41a142d927979b7f5606ec96e4ae11db25 Mon Sep 17 00:00:00 2001
From: Martin Kosek <mko...@redhat.com>
Date: Tue, 27 Mar 2012 13:02:35 +0200
Subject: [PATCH] Fix dnsrecord-del interactive mode

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

https://fedorahosted.org/freeipa/ticket/2581
---
 ipalib/plugins/dns.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index e69686cbfc1ee65c277b3d3ca61a590f72284b0c..aea04b40d41850cd4ce6ec50ef958ae64b7eea22 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -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)
 
-- 
1.7.7.6

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to