From cd34e7bf1cb82cadfadf7428ed501e1ce352f196 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Sun, 14 Dec 2008 12:03:47 +0000
Subject: [PATCH] cleanup: SetEtcHostsEntry unused var

Reviewed-by: amishchenko
---
 lib/utils.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/utils.py b/lib/utils.py
index 97d6b8198..823c20815 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -834,7 +834,6 @@ def SetEtcHostsEntry(file_name, ip, hostname, aliases):
     try:
       f = open(file_name, 'r')
       try:
-        written = False
         for line in f:
           fields = line.split()
           if fields and not fields[0].startswith('#') and ip == fields[0]:
-- 
GitLab