summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-12-03 21:55:37 +0000
committerMike Fulbright <msf@redhat.com>1999-12-03 21:55:37 +0000
commitabd110216461b94b52617fd81b284e5bf267e651 (patch)
tree427d6388ba8e774cb6e281b34ba5d2f548197ade /textw
parent8b8c714bd0ca00fd80317ec1805dce8584b46212 (diff)
downloadanaconda-abd110216461b94b52617fd81b284e5bf267e651.tar.gz
anaconda-abd110216461b94b52617fd81b284e5bf267e651.tar.xz
anaconda-abd110216461b94b52617fd81b284e5bf267e651.zip
moved import of fsedit to be conditional
Diffstat (limited to 'textw')
-rw-r--r--textw/partitioning.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/textw/partitioning.py b/textw/partitioning.py
index 465aac9cd..91d29dcdc 100644
--- a/textw/partitioning.py
+++ b/textw/partitioning.py
@@ -4,7 +4,6 @@ import os
import isys
from snack import *
from textw.constants import *
-from newtpyfsedit import fsedit
from text import _
class PartitionMethod:
@@ -35,6 +34,8 @@ class PartitionMethod:
class ManualPartitionWindow:
def __call__(self, screen, todo):
+ from newtpyfsedit import fsedit
+
if todo.skipFdisk: return INSTALL_NOOP
drives = todo.drives.available ()
@@ -105,6 +106,8 @@ class ManualPartitionWindow:
class AutoPartitionWindow:
def __call__(self, screen, todo):
+ from newtpyfsedit import fsedit
+
fstab = []
for mntpoint, (dev, fstype, reformat) in todo.mounts.items ():
fstab.append ((dev, mntpoint))