summaryrefslogtreecommitdiffstats
path: root/floppy.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 /floppy.py
parent7a3c395db8ac3e0db05acabd610758a555195556 (diff)
downloadanaconda-48153651a7519d0654b8c9685907a203464bc684.tar.gz
anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.xz
anaconda-48153651a7519d0654b8c9685907a203464bc684.zip
more pychecker fixups
Diffstat (limited to 'floppy.py')
-rw-r--r--floppy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/floppy.py b/floppy.py
index 707e2b8ed..a1722f065 100644
--- a/floppy.py
+++ b/floppy.py
@@ -18,8 +18,8 @@ import errno
import iutil
import re
import os
-import dispatch
import rpm
+from constants import *
from log import log
from flags import flags
from translate import _
@@ -85,7 +85,7 @@ def probeFloppyDevice():
def makeBootdisk (intf, floppyDevice, hdList, instPath):
if flags.test:
- return dispatch.DISPATCH_NOOP
+ return DISPATCH_NOOP
# this is faster then waiting on mkbootdisk to fail
device = floppyDevice
@@ -94,7 +94,7 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath):
try:
fd = os.open(file, os.O_RDONLY)
except:
- return dispatch.DISPATCH_BACK
+ return DISPATCH_BACK
os.close(fd)
kernel = hdList['kernel']
@@ -113,5 +113,5 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath):
w.pop()
if rc:
- return dispatch.DISPATCH_BACK
+ return DISPATCH_BACK