[rhel6-branch 1/2] Add logging to bootloaderInfo (#974996)
Brian C. Lane
bcl at redhat.com
Wed Jun 4 21:50:58 UTC 2014
import was missing, it is only used in a couple of error paths.
Resolves: rhbz#974996
---
booty/bootloaderInfo.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index eb6bee6..5d76733 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -40,6 +40,9 @@ import booty
import checkbootloader
from util import getDiskPart
+import logging
+log = logging.getLogger("anaconda")
+
if not iutil.isS390():
import block
--
1.9.3
More information about the anaconda-patches
mailing list