Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Fix a udev import to be more explicit. This shuts up pylint. (http://www.linux-archive.org/ubuntu-user/558482-fix-udev-import-more-explicit-shuts-up-pylint.html)

Chris Lumens 07-29-2011 05:44 PM

Fix a udev import to be more explicit. This shuts up pylint.
 
It also gets rid of an "import *", which we all hate.
---
pyanaconda/storage/devicelibs/mpath.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/devicelibs/mpath.py b/pyanaconda/storage/devicelibs/mpath.py
index e128961..ea466a5 100644
--- a/pyanaconda/storage/devicelibs/mpath.py
+++ b/pyanaconda/storage/devicelibs/mpath.py
@@ -1,7 +1,7 @@

import re

-from ..udev import *
+from ..udev import udev_device_is_disk
from pyanaconda import iutil
from pyanaconda.anaconda_log import log_method_call

--
1.7.6

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


All times are GMT. The time now is 11:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.