summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-04-16 11:00:00 +0200
committerRob Crittenden <rcritten@redhat.com>2012-04-15 18:37:18 -0400
commit568de5027b9c7057e6f71cca4a45ced9ca7a7db6 (patch)
treee9e36f9e03df51a921db0cbf5a058ce4a79b4c1d /ipalib/plugins
parent0acdae0b4dc4809025bae6062a28fff99b105632 (diff)
downloadfreeipa-568de5027b9c7057e6f71cca4a45ced9ca7a7db6.tar.gz
freeipa-568de5027b9c7057e6f71cca4a45ced9ca7a7db6.tar.xz
freeipa-568de5027b9c7057e6f71cca4a45ced9ca7a7db6.zip
Fix dnsrecord_add interactive mode
dnsrecord_add interactive mode did not work correctly when more than one DNS record part was entered as command line option. It asked for remaining options more than once. This patch fixes this situation and also adds tests to cover this use case properly. https://fedorahosted.org/freeipa/ticket/2641
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 88ee29ba4..b0e65ab94 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -2046,7 +2046,7 @@ class dnsrecord(LDAPObject):
continue
if rrparam.name not in processed:
- processed.append(rrparam)
+ processed.append(rrparam.name)
yield rrparam
api.register(dnsrecord)