summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-06-27 02:41:20 +0000
committerJeremy Katz <katzj@redhat.com>2001-06-27 02:41:20 +0000
commitb1cbbc6cb9c8f16592aa0d679cd2d8731cf4195a (patch)
treea1f316173a58d0bb8fb3be6d703a15013a0c2ebe /autopart.py
parent3db13305b7426440b4b5af91d95ad1a08bd10cf0 (diff)
downloadanaconda-b1cbbc6cb9c8f16592aa0d679cd2d8731cf4195a.tar.gz
anaconda-b1cbbc6cb9c8f16592aa0d679cd2d8731cf4195a.tar.xz
anaconda-b1cbbc6cb9c8f16592aa0d679cd2d8731cf4195a.zip
reset devices if we've autopartitioned and go back to change our autopartitioning options
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index e43bf94c0..e4787b4ae 100644
--- a/autopart.py
+++ b/autopart.py
@@ -658,6 +658,8 @@ def doClearPartAction(id, type, cleardrives):
def doAutoPartition(dir, id, intf):
if dir == DISPATCH_BACK:
+ id.diskset.refreshDevices()
+ id.partrequests.setFromDisk(id.diskset)
return
# if no auto partition info in instclass we bail