[PATCH] Fix reclaiming disk space for non-us installations.

Radek Vykydal rvykydal at redhat.com
Thu Mar 14 13:45:45 UTC 2013


---
 pyanaconda/ui/gui/spokes/lib/resize.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/resize.py b/pyanaconda/ui/gui/spokes/lib/resize.py
index 7baf894..4353ad8 100644
--- a/pyanaconda/ui/gui/spokes/lib/resize.py
+++ b/pyanaconda/ui/gui/spokes/lib/resize.py
@@ -320,9 +320,9 @@ class ResizeDialog(GUIObject):
 
                 # If the user marked a whole disk for deletion, they can't go in and
                 # un-delete partitions under it.
-                if newAction == _(DELETE):
+                if newAction == DELETE:
                     self._diskStore[partItr][EDITABLE_COL] = False
-                elif newAction == _(PRESERVE):
+                elif newAction == PRESERVE:
                     part = self.storage.devicetree.getDeviceByID(self._diskStore[partItr][DEVICE_ID_COL])
                     self._diskStore[partItr][EDITABLE_COL] = not part.protected
 
-- 
1.7.11.7



More information about the anaconda-patches mailing list