[PATCH 2/3] Set StorageCheck class attrs instead of adding instance attrs.

David Lehman dlehman at redhat.com
Tue Jul 17 19:14:54 UTC 2012


---
 pyanaconda/ui/gui/spokes/storage.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index e0d98b0..95d1454 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -242,7 +242,8 @@ class StorageChecker(object):
     def checkStorage(self):
         communication.send_message(self._mainSpokeClass,
                                    _("Checking storage configuration..."))
-        (self.errors, self.warnings) = self.storage.sanityCheck()
+        (StorageChecker.errors,
+         StorageChecker.warnings) = self.storage.sanityCheck()
         communication.send_ready(self._mainSpokeClass)
 
 class StorageSpoke(NormalSpoke, StorageChecker):
-- 
1.7.7.6



More information about the anaconda-patches mailing list