summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autopart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index 9828f82e8..e5224b300 100644
--- a/autopart.py
+++ b/autopart.py
@@ -940,7 +940,7 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
req.fstype = request.fstype
else:
req = copy.copy(request)
- if not req.drive:
+ if req.type == REQUEST_NEW and not req.drive:
req.drive = drives
partitions.addRequest(req)