Fix CR comment

This commit is contained in:
Itay Mizeretz 2018-12-23 12:21:11 +02:00
parent 079038783b
commit 6ff2e7f541
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ def _traceroute_linux(target_ip, ttl):
proc_obj = subprocess.Popen(cli, stdout=subprocess.PIPE) proc_obj = subprocess.Popen(cli, stdout=subprocess.PIPE)
stdout, stderr = proc_obj.communicate() stdout, stderr = proc_obj.communicate()
lines = _parse_traceroute(stdout, IP_ADDR_PARENT_RE, ttl) lines = _parse_traceroute(stdout, IP_ADDR_PARENTHESES_RE, ttl)
lines = [x[1:-1] if x else None # Removes parenthesis lines = [x[1:-1] if x else None # Removes parenthesis
for x in lines] for x in lines]
return lines return lines