[PATCH] Fix up a couple more pylint errors.
Chris Lumens
clumens at redhat.com
Wed Oct 30 18:38:02 UTC 2013
---
pyanaconda/threads.py | 1 +
pyanaconda/ui/tui/spokes/storage.py | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/threads.py b/pyanaconda/threads.py
index 216ee95..4bc01b6 100644
--- a/pyanaconda/threads.py
+++ b/pyanaconda/threads.py
@@ -166,6 +166,7 @@ class AnacondaThread(threading.Thread):
log.info("Running Thread: %s (%s)", self.name, self.ident)
try:
threading.Thread.run(self, *args, **kwargs)
+ # pylint: disable-msg=W0702
except:
threadMgr.set_error(self.name, *sys.exc_info())
sys.excepthook(*sys.exc_info())
diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index bc8b329..96b467d 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -265,9 +265,9 @@ class StorageSpoke(NormalTUISpoke):
self.data.bootloader.location = "mbr"
if self.data.bootloader.bootDrive and \
- self.data.bootloader.bootDrive not in self.selected_disks:
- self.data.bootloader.bootDrive = ""
- self.storage.bootloader.reset()
+ self.data.bootloader.bootDrive not in self.selected_disks:
+ self.data.bootloader.bootDrive = ""
+ self.storage.bootloader.reset()
self.storage.config.update(self.data)
--
1.8.3.1
More information about the anaconda-patches
mailing list