[PATCH] Fix a traceback gathering free space info for a container. (#1069854)

David Lehman dlehman at redhat.com
Tue Feb 25 22:58:50 UTC 2014


---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 6ca4a20..e788046 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2498,7 +2498,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
             # we're looking for the original vg name
             if data[0] == container_name:
                 c = self.__storage.devicetree.getDeviceByName(self._device_container_name)
-                freeSpace = self._device_container_name.getattr(c, "freeSpace", None)
+                freeSpace = getattr(c, "freeSpace", None)
 
                 self._containerStore.insert(idx, self._container_store_row(freeSpace))
                 self._containerCombo.set_active(idx)
-- 
1.8.5.3



More information about the anaconda-patches mailing list