DNS Locations: fix update-system-records unpacking error

Method IPASystemRecords.records_list_from_node returns only list
consists only from record names not tuple, which caused unpacking error

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

Reviewed-By: Nikhil Dehadrai <ndehadra@redhat.com>
This commit is contained in:
Martin Basti committed 2016-07-22 15:16:08 +02:00
1 parent 34767ba259
commit 524719f420
1 file changed
+2 -2
+2 -2
View File
@@ -1139,10 +1139,10 @@ class BindInstance(service.Service):
root_logger.error("Update of following records failed:")
for attr in (failed_ipa_rec, failed_loc_rec):
for rname, node, error in attr:
for record, e in IPASystemRecords.records_list_from_node(
for record in IPASystemRecords.records_list_from_node(
rname, node
):
root_logger.error("%s (%s)", record, e)
root_logger.error("%s (%s)", record, error)
def check_global_configuration(self):
"""