diff options
author | Martin Kosek <mkosek@redhat.com> | 2012-04-16 11:00:00 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-04-15 18:37:18 -0400 |
commit | 568de5027b9c7057e6f71cca4a45ced9ca7a7db6 (patch) | |
tree | e9e36f9e03df51a921db0cbf5a058ce4a79b4c1d /ipalib/plugins | |
parent | 0acdae0b4dc4809025bae6062a28fff99b105632 (diff) | |
download | freeipa-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.py | 2 |
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) |