Commit cd34e7bf authored by Iustin Pop's avatar Iustin Pop
Browse files

cleanup: SetEtcHostsEntry unused var

Reviewed-by: amishchenko
parent a0add446
......@@ -834,7 +834,6 @@ def SetEtcHostsEntry(file_name, ip, hostname, aliases):
f = open(file_name, 'r')
written = False
for line in f:
fields = line.split()
if fields and not fields[0].startswith('#') and ip == fields[0]:
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