pylint: fix R1702 too-many-nested-blocks

parent ef1b73b5
...@@ -48,7 +48,7 @@ def get_dsakeys(config, node): ...@@ -48,7 +48,7 @@ def get_dsakeys(config, node):
def check_rrsig(node, dsakeys): def check_rrsig(node, dsakeys):
""" Find records with wrong lenght of rrsig""" """ Find records with wrong lenght of rrsig"""
for key in dsakeys: for key in dsakeys: # pylint: disable=too-many-nested-blocks
for entry in node.match("/scenario/range/entry"): for entry in node.match("/scenario/range/entry"):
records = list(entry.match("/section/answer/record")) records = list(entry.match("/section/answer/record"))
records.extend(list(entry.match("/section/authority/record"))) records.extend(list(entry.match("/section/authority/record")))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment