From d9ec90f499e80763a6779c0a32118343e9a87b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 15 Oct 2013 18:25:02 +0200 Subject: [PATCH] Fix iterating over bootloader list. --- ecleankernel/bootloader/lilo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ecleankernel/bootloader/lilo.py b/ecleankernel/bootloader/lilo.py index 04087bd..867b98f 100644 --- a/ecleankernel/bootloader/lilo.py +++ b/ecleankernel/bootloader/lilo.py @@ -27,6 +27,7 @@ def __init__(self, debug = False, path = None): debug.print('%s found' % p) self.path = p self._content = f.read() + break except IOError as e: if e.errno != errno.ENOENT: raise