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 /fsset.py | |
parent | 7a3c395db8ac3e0db05acabd610758a555195556 (diff) | |
download | anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.gz anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.xz anaconda-48153651a7519d0654b8c9685907a203464bc684.zip |
more pychecker fixups
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -20,6 +20,7 @@ import os import parted import sys import struct +import partitioning from log import log from translate import _, N_ @@ -61,7 +62,6 @@ class LabelFactory: def createLabel(self, mountpoint): if self.labels == None: - import partitioning self.labels = {} diskset = partitioning.DiskSet() @@ -855,8 +855,6 @@ class LoopbackDevice(Device): # XXX fix RAID def readFstab (path): - import partitioning - fsset = FileSystemSet() # first, we look at all the disks on the systems and get any ext2/3 @@ -1062,7 +1060,6 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint): return 1 if __name__ == "__main__": - import sys log.open("foo") fsset = readFstab("fstab") |