diff options
author | Chris Lumens <clumens@redhat.com> | 2006-03-30 18:06:41 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-03-30 18:06:41 +0000 |
commit | b12c89deed26132b45302d048c92f1a71395efc4 (patch) | |
tree | bcd02b80200e8c4abf716f2eb6d05cd0dad66ccc /yuminstall.py | |
parent | e6015c01be9bc42e85545c94f757f1efe4fb6a1a (diff) | |
download | anaconda-b12c89deed26132b45302d048c92f1a71395efc4.tar.gz anaconda-b12c89deed26132b45302d048c92f1a71395efc4.tar.xz anaconda-b12c89deed26132b45302d048c92f1a71395efc4.zip |
Fix some deprecation warnings.
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yuminstall.py b/yuminstall.py index b39272554..22387a3b6 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -926,11 +926,11 @@ class YumBackend(AnacondaBackend): id.fsset.write(instPath) # rootpath mode doesn't have this file around if os.access("/tmp/modprobe.conf", os.R_OK): - iutil.copyFile("/tmp/modprobe.conf", - instPath + "/etc/modprobe.conf") + shutil.copyfile("/tmp/modprobe.conf", + instPath + "/etc/modprobe.conf") if os.access("/tmp/zfcp.conf", os.R_OK): - iutil.copyFile("/tmp/zfcp.conf", - instPath + "/etc/zfcp.conf") + shutil.copyfile("/tmp/zfcp.conf", + instPath + "/etc/zfcp.conf") # make a /etc/mtab so mkinitrd can handle certain hw (usb) correctly f = open(instPath + "/etc/mtab", "w+") |