[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[master 2/2] devicelibs/mpath.py: do not rely on other modules to import logging.



I hear that pylint is complaining about this.
---
 pyanaconda/storage/devicelibs/mpath.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/devicelibs/mpath.py b/pyanaconda/storage/devicelibs/mpath.py
index d09f7c5..48f9c5c 100644
--- a/pyanaconda/storage/devicelibs/mpath.py
+++ b/pyanaconda/storage/devicelibs/mpath.py
@@ -4,6 +4,9 @@ import re
 from ..udev import *
 from pyanaconda import iutil
 
+import logging
+log = logging.getLogger("storage")
+
 def parseMultipathOutput(output):
     # this function parses output from "multipath -d", so we can use its
     # logic for our topology.
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]