FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 12-09-2010, 02:49 PM
Martin Gracik
 
Default devicelibs/mpath.py: do not rely on other modules to import logging.

ack

On Thu, 2010-12-09 at 16:38 +0100, Ales Kozumplik wrote:
> 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.

--
Martin Gracik <mgracik@redhat.com>

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

Thread Tools




All times are GMT. The time now is 07:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org