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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user