Skip to content

Commit

Permalink
Merge pull request #228 from dogo42/develop
Browse files Browse the repository at this point in the history
python3 bindings: ldnsx.py "class resolver" fix
  • Loading branch information
wtoorop authored Dec 11, 2023
2 parents 26333cc + aebeb33 commit 213345d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/ldnsx/ldnsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def __init__(self, ns = None, dnssec = False, tcp = False, port = 53):
self.drop_nameservers()
nm_list = ns.split(',')
nm_list = map(lambda s: s.strip(), nm_list)
nm_list = filter(lambda s: s != "", nm_list)
nm_list = list(filter(lambda s: s != "", nm_list))
nm_list.reverse()
for nm in nm_list:
self.add_nameserver(nm)
Expand Down

0 comments on commit 213345d

Please sign in to comment.