summaryrefslogtreecommitdiffstats
path: root/milo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-10-09 23:33:54 +0000
committerMatt Wilson <msw@redhat.com>1999-10-09 23:33:54 +0000
commit82da88c19700fff1f61543df080b1ddd1e2b0214 (patch)
tree17868fab2331b5b0aafc777982f4b90cdf34ddf2 /milo.py
parent32e4f351ce011980cadb6cda65c9b6863386e3d8 (diff)
downloadanaconda-82da88c19700fff1f61543df080b1ddd1e2b0214.tar.gz
anaconda-82da88c19700fff1f61543df080b1ddd1e2b0214.tar.xz
anaconda-82da88c19700fff1f61543df080b1ddd1e2b0214.zip
oops.
Diffstat (limited to 'milo.py')
-rw-r--r--milo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/milo.py b/milo.py
index ac13153b1..4c5bd42af 100644
--- a/milo.py
+++ b/milo.py
@@ -94,7 +94,7 @@ class MiloInstall:
hasboot = 1
kernelroot = '/'
try:
- os.remove(todo.instPath + "/etc/milo.conf", "w")
+ os.remove(todo.instPath + "/etc/milo.conf")
os.symlink("../boot/milo.conf",
self.todo.instPath + "/etc/milo.conf")
except:
@@ -103,7 +103,7 @@ class MiloInstall:
hasboot = 0
kernelroot = '/boot/'
- f = open (self.todo.instPath + "/etc/milo.conf")
+ f = open (self.todo.instPath + "/etc/milo.conf", "w")
if hasboot:
f.write ("# NOTICE: You have a /boot partition. This means that all\n")
f.write ("# paths are relative to /boot/\n")