Files
freeipa/ipaserver/plugins
Florence Blanc-Renaud dbc7881e36 dnsforwardzone-add: support dnspython 2.0
The command dnsforwardzone-add is assuming that the dns.rrset.RRset
type stores "items" as a list. With dnspython 2.0 this is not true
as a dict is used instead.

As a consequence, in order to get the first record, it is not possible
to use items[0]. As dict and list are both iterables, next(iter(items))
can be used in order to be compatible with dnspython 1.16 and 2.0.

Fixes: https://pagure.io/freeipa/issue/8481
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2020-09-10 09:14:50 +02:00
..
2010-12-20 17:19:53 -05:00
2017-03-27 19:08:26 +02:00
2020-06-15 22:44:42 +03:00
2020-07-07 10:07:48 -04:00
2018-01-09 07:53:28 +01:00
2020-08-31 09:46:03 +03:00
2019-10-21 18:01:32 +11:00
2019-10-21 18:01:32 +11:00
2019-03-28 00:21:00 +01:00
2020-06-15 22:44:42 +03:00
2020-08-31 09:46:03 +03:00
2020-03-31 09:21:37 +03:00
2018-01-09 07:53:28 +01:00
2018-10-05 12:06:19 +02:00
2020-05-05 10:42:46 +02:00
2020-05-05 10:42:46 +02:00
2017-09-08 15:42:07 +02:00
2020-06-15 22:44:42 +03:00
2019-03-28 00:21:00 +01:00