diff options
author | Chris Lumens <clumens@redhat.com> | 2005-01-19 16:03:27 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-01-19 16:03:27 +0000 |
commit | 9c2b60209b12683edf8302835fc5850cd24e47d8 (patch) | |
tree | 03f6d60b2ca9c0ce23c8afc477929ff2560e9018 | |
parent | b9f606894762c35f63db9b424610cc77c241eb60 (diff) | |
download | anaconda-9c2b60209b12683edf8302835fc5850cd24e47d8.tar.gz anaconda-9c2b60209b12683edf8302835fc5850cd24e47d8.tar.xz anaconda-9c2b60209b12683edf8302835fc5850cd24e47d8.zip |
Only repopulate the partition display screen if we were successful in adding
the request. (corner case - #137119).
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | iw/partition_gui.py | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-01-19 Chris Lumens <clumens@redhat.com> + + * iw/partition_gui.py (PartitionWindow.refresh): Only repopulate the + partition display screen if we were successful in adding the request. + (corner case - #137119). + 2005-01-11 Jeremy Katz <katzj@redhat.com> * packages.py (readPackages): Ensure that the Core group exists in diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 857a9f9e6..d847a6db8 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1020,7 +1020,9 @@ class PartitionWindow(InstallWindow): for req in reqs: req.ignoreBootConstraints = 1 - self.populate() + if not rc == -1: + self.populate() + return rc def editCb(self, *args): |