diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-12 13:59:19 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-12 13:59:19 +0000 |
commit | d0dec240385acda60a0591fbddd1cbcbdf9c20bc (patch) | |
tree | d5dfc075f489681cf1577170d06ad47d9b803329 /exception.py | |
parent | 143669aca0a87f5574924ea5aa6a52450a5311c6 (diff) | |
download | anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.gz anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.xz anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.zip |
Use subprocess instead of our own code. Fix all calls to execWith* so
the command is no longer the first argument, since subprocess doesn't work
that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
Diffstat (limited to 'exception.py')
-rw-r--r-- | exception.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/exception.py b/exception.py index 06f095a46..8823b8f6a 100644 --- a/exception.py +++ b/exception.py @@ -286,13 +286,12 @@ def copyExceptionToFloppy (anaconda): os.close(fd) if rhpl.getArch() != "ia64": - args = [ 'mkdosfs', '/tmp/floppy' ] cmd = "/usr/sbin/mkdosfs" if os.access("/sbin/mkdosfs", os.X_OK): cmd = "/sbin/mkdosfs" - iutil.execWithRedirect (cmd, args, stdout = '/dev/tty5', + iutil.execWithRedirect (cmd, ["/tmp/floppy"], stdout = '/dev/tty5', stderr = '/dev/tty5') try: |