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 /floppy.py | |
parent | 7a3c395db8ac3e0db05acabd610758a555195556 (diff) | |
download | anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.gz anaconda-48153651a7519d0654b8c9685907a203464bc684.tar.xz anaconda-48153651a7519d0654b8c9685907a203464bc684.zip |
more pychecker fixups
Diffstat (limited to 'floppy.py')
-rw-r--r-- | floppy.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |