diff options
author | David Lehman <dlehman@redhat.com> | 2009-04-13 11:22:02 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-04-13 12:11:16 -0500 |
commit | e6ceaf3b26628249cf103d94efba611114da1ee3 (patch) | |
tree | b380c020ad306c20d250222701f49f97eb405776 /iw | |
parent | 846b903fc72d66e82fe2d6642a2322aac8d941c7 (diff) | |
download | anaconda-e6ceaf3b26628249cf103d94efba611114da1ee3.tar.gz anaconda-e6ceaf3b26628249cf103d94efba611114da1ee3.tar.xz anaconda-e6ceaf3b26628249cf103d94efba611114da1ee3.zip |
Remove uncommitted new lv from dict on cancel.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/lvm_dialog_gui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py index 3e42e40e3..457361d9e 100644 --- a/iw/lvm_dialog_gui.py +++ b/iw/lvm_dialog_gui.py @@ -566,6 +566,8 @@ class VolumeGroupEditor: while 1: rc = dialog.run() if rc == 2: + if isNew: + del self.lvs[lv['name']] dialog.destroy() return |