summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-02 21:02:57 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-02 21:02:57 +0000
commit5fa4c45809f0a97f96e6443ba46d192d1bcdd66f (patch)
treee91af0c351af4d2bb6dd0ea30ed9441953d82b5d /fsset.py
parent00c77d88bff9bc9c60983a630d15bbee5b7702c1 (diff)
downloadanaconda-5fa4c45809f0a97f96e6443ba46d192d1bcdd66f.tar.gz
anaconda-5fa4c45809f0a97f96e6443ba46d192d1bcdd66f.tar.xz
anaconda-5fa4c45809f0a97f96e6443ba46d192d1bcdd66f.zip
make a copy of entries for the reverse list when unmounting. otherwise, we reverse the original list which leads to problems if you have disk space problems and go back to unselect packages to fix them
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index 314d451ea..5b68c5758 100644
--- a/fsset.py
+++ b/fsset.py
@@ -26,6 +26,7 @@ import partedUtils
import raid
import lvm
import types
+import copy
from rhpl.log import log
from rhpl.translate import _, N_
@@ -1309,7 +1310,7 @@ class FileSystemSet:
# log("Umount USB Fail")
pass
- reverse = self.entries
+ reverse = copy.copy(self.entries)
reverse.reverse()
for entry in reverse: