summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-23 03:24:08 +0000
committerMatt Wilson <msw@redhat.com>2001-06-23 03:24:08 +0000
commit48153651a7519d0654b8c9685907a203464bc684 (patch)
tree76ad6e78b0c26fb668a7cd27e972c46ce0f91ab4 /fsset.py
parent7a3c395db8ac3e0db05acabd610758a555195556 (diff)
downloadanaconda-48153651a7519d0654b8c9685907a203464bc684.tar.gz
anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.xz
anaconda-48153651a7519d0654b8c9685907a203464bc684.zip
more pychecker fixups
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/fsset.py b/fsset.py
index 9a9be4a05..c6befad17 100644
--- a/fsset.py
+++ b/fsset.py
@@ -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")