summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-12 14:18:04 +0000
committerChris Lumens <clumens@redhat.com>2006-07-12 14:18:04 +0000
commite04e81205babeee021ecd2e09f6304b8573fa256 (patch)
treee4ec6e822359f42f9871c074c71850d876c10f38 /exception.py
parent4f79a5e0813944d8b7305c6bc925551ff3d6f1b4 (diff)
downloadanaconda-e04e81205babeee021ecd2e09f6304b8573fa256.tar.gz
anaconda-e04e81205babeee021ecd2e09f6304b8573fa256.tar.xz
anaconda-e04e81205babeee021ecd2e09f6304b8573fa256.zip
Removed iutil.copyFile.
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/exception.py b/exception.py
index 8823b8f6a..3fe7d7821 100644
--- a/exception.py
+++ b/exception.py
@@ -257,7 +257,7 @@ def copyExceptionToFloppy (anaconda):
# in test mode have save to floppy option just copy to new name
if not flags.setupFilesystems:
try:
- iutil.copyFile("/tmp/anacdump.txt", "/tmp/test-anacdump.txt")
+ shutil.copyfile("/tmp/anacdump.txt", "/tmp/test-anacdump.txt")
except:
log.error("Failed to copy anacdump.txt to /tmp/test-anacdump.txt")
pass
@@ -301,7 +301,7 @@ def copyExceptionToFloppy (anaconda):
# copy trace dump we wrote to local storage to floppy
try:
- iutil.copyFile("/tmp/anacdump.txt", "/tmp/crash/anacdump.txt")
+ shutil.copyfile("/tmp/anacdump.txt", "/tmp/crash/anacdump.txt")
except:
log.error("Failed to copy anacdump.txt to floppy")
return 2