[PATCH] Fix up a couple more pylint errors.
Samantha N. Bueno
sbueno+anaconda at redhat.com
Wed Oct 30 18:48:00 UTC 2013
Ack.
On Wed, Oct 30, 2013 at 02:38:02PM -0400, Chris Lumens wrote:
> ---
> 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
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list