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

[PATCH] Fix a couple pylint-found errors.



---
 pyanaconda/iw/advanced_storage.py |    2 +-
 pyanaconda/storage/devicetree.py  |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/iw/advanced_storage.py b/pyanaconda/iw/advanced_storage.py
index 24a5010..97b1d33 100644
--- a/pyanaconda/iw/advanced_storage.py
+++ b/pyanaconda/iw/advanced_storage.py
@@ -464,7 +464,7 @@ def addIscsiDrive(anaconda):
             elif step == STEP_LOGIN:
                 rc = wizard.display_login_dialog()
                 if rc == gtk.RESPONSE_CANCEL:
-                    break;
+                    break
                 login_dict = wizard.get_login_dict()
                 log.critical("logging with %s" % login_dict)
                 login_dict["intf"] = anaconda.intf
diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index 44dfc71..088dc5a 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -39,6 +39,7 @@ from udev import *
 from .storage_log import log_method_call
 from pyanaconda import iutil
 import parted
+import _ped
 
 import gettext
 _ = lambda x: gettext.ldgettext("anaconda", x)
-- 
1.7.1.1


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