diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-23 03:24:08 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-23 03:24:08 +0000 |
commit | 48153651a7519d0654b8c9685907a203464bc684 (patch) | |
tree | 76ad6e78b0c26fb668a7cd27e972c46ce0f91ab4 /autopart.py | |
parent | 7a3c395db8ac3e0db05acabd610758a555195556 (diff) | |
download | anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.gz anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.xz anaconda-48153651a7519d0654b8c9685907a203464bc684.zip |
more pychecker fixups
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autopart.py b/autopart.py index a33658a05..ec23d89b4 100644 --- a/autopart.py +++ b/autopart.py @@ -17,7 +17,7 @@ import parted import math import fsset from partitioning import * -from dispatch import DISPATCH_NOOP +from constants import * from translate import _, N_ PARTITION_FAIL = -1 @@ -130,7 +130,7 @@ def fitConstrained(diskset, requests, primOnly=0): raise PartitioningError, ("requested FileSystemType needs " "a flag that is not available.") newp.set_flag(flag, 1) - request.device = PartedPartitionDevice(newp).getDevice() + request.device = fsset.PartedPartitionDevice(newp).getDevice() request.currentDrive = request.drive[0] return PARTITION_SUCCESS @@ -222,7 +222,7 @@ def fitSized(diskset, requests, primOnly = 0): "a flag that is not available.") newp.set_flag(flag, 1) - request.device = PartedPartitionDevice(newp).getDevice() + request.device = fsset.PartedPartitionDevice(newp).getDevice() drive = newp.geom.disk.dev.path[5:] request.currentDrive = drive |