From e90f7f89fc364fc674ae73a2cd92eecea21f5721 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Mar 15 2013 07:55:39 +0000 Subject: Fix reclaiming disk space for non-us installations. --- 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