[PATCH 01/11] storage/__init__.py:471:Storage.exceptionDisks: Undefined variable 'udev'

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

 



We do "import * from udev", so we should not call udev_trigger() as
udev.udev_trigger(), but just as udev_trigger()

Courtesy of pylint
---
 storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 506817c..0dcad09 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -468,7 +468,7 @@ class Storage(object):
         """
         # When a usb is connected from before the start of the installation,
         # it is not correctly detected.
-        udev.udev_trigger(subsystem="block")
+        udev_trigger(subsystem="block")
         self.reset()
 
         dests = []
-- 
1.6.4

_______________________________________________
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