From 362129bf6c87ee27a3fa0f1bd082040e073bf77e Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 7 Aug 2001 20:10:45 +0000 Subject: check that people have sane partition tables after running fdisk also (50840) --- textw/fdisk_text.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'textw') diff --git a/textw/fdisk_text.py b/textw/fdisk_text.py index 1bf9c8157..69f9c13ee 100644 --- a/textw/fdisk_text.py +++ b/textw/fdisk_text.py @@ -20,9 +20,10 @@ import iutil from snack import * from translate import _, cat, N_ from constants_text import * +import partitioning class fdiskPartitionWindow: - def __call__(self, screen, diskset, partrequests): + def __call__(self, screen, diskset, partrequests, intf): choices = [] drives = diskset.disks.keys() drives.sort() @@ -64,7 +65,8 @@ class fdiskPartitionWindow: pass - diskset.refreshDevices() + diskset.refreshDevices(intf) + partitioning.checkNoDisks(diskset, intf) partrequests.setFromDisk(diskset) if button == TEXT_BACK_CHECK: -- cgit