summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-06-25 20:25:16 +0000
committerMike Fulbright <msf@redhat.com>2001-06-25 20:25:16 +0000
commite70e762838cef4dd120d3366eb611ced689a3bd6 (patch)
tree20a7760be069fffee44083fc2db04704b8a280f2 /autopart.py
parent624ed699409415733b822374dfb7357c028bb6c9 (diff)
downloadanaconda-e70e762838cef4dd120d3366eb611ced689a3bd6.tar.gz
anaconda-e70e762838cef4dd120d3366eb611ced689a3bd6.tar.xz
anaconda-e70e762838cef4dd120d3366eb611ced689a3bd6.zip
add screen to GUI to allow user to control autopartitioning to some extent
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/autopart.py b/autopart.py
index 247f53c05..d6ef750eb 100644
--- a/autopart.py
+++ b/autopart.py
@@ -530,7 +530,7 @@ def doClearPartAction(id, type, cleardrives):
id.partrequests.addDelete(delete)
continue
-def doAutoPartition(dir, id):
+def doAutoPartition(dir, id, intf):
if dir == DISPATCH_BACK:
return
@@ -554,5 +554,5 @@ def doAutoPartition(dir, id):
# restore drives to original state
id.diskset.refreshDevices()
id.partrequests = PartitionRequests(id.diskset)
- id.intf.messageWindow(_("Error Partitioning"),
+ intf.messageWindow(_("Error Partitioning"),
_("Could not allocated requested partitions: %s.") % (msg))