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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux