1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 05:59:01 +00:00

Fix up some LGTM issues in ndiff. #1834

This commit is contained in:
dmiller
2019-12-29 20:05:05 +00:00
parent 33346f7651
commit 156cb98fd0
2 changed files with 3 additions and 6 deletions

View File

@@ -102,7 +102,6 @@ def repl_hostname(match):
def anonymize_file(f):
for line in f:
repls = []
line = re.sub(mac_re, repl_addr, line)
line = re.sub(ipv4_re, repl_addr, line)
line = re.sub(ipv6_re, repl_addr, line)