summaryrefslogtreecommitdiffstats
path: root/pyanaconda/bootloader.py
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2012-06-20 15:35:33 -0700
committerBrian C. Lane <bcl@redhat.com>2012-06-20 15:35:33 -0700
commit263443c981bb9cfba6c5e0ee82e8ed9f87a7dbbc (patch)
tree3657ff39ed77e5e9b9bc720e638d330e27e48d64 /pyanaconda/bootloader.py
parent7e1b1abc04a7dde1a4153d5e61bf0207f77d583c (diff)
downloadanaconda-263443c981bb9cfba6c5e0ee82e8ed9f87a7dbbc.tar.gz
anaconda-263443c981bb9cfba6c5e0ee82e8ed9f87a7dbbc.tar.xz
anaconda-263443c981bb9cfba6c5e0ee82e8ed9f87a7dbbc.zip
fixup a couple GRUB2 typos
Diffstat (limited to 'pyanaconda/bootloader.py')
-rw-r--r--pyanaconda/bootloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 87433bca9..b86b57a1b 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1358,7 +1358,7 @@ class GRUB2(GRUB):
mdraid.RAID5, mdraid.RAID6, mdraid.RAID10]
def __init__(self, storage):
- super(GRUB2, self).__init__(self, storage)
+ super(GRUB2, self).__init__(storage)
self.boot_args.add("$([ -x /usr/sbin/rhcrashkernel-param ] && "\
"/usr/sbin/rhcrashkernel-param)")
@@ -1430,7 +1430,7 @@ class GRUB2(GRUB):
defaults_file = "%s%s" % (ROOT_PATH, self.defaults_file)
defaults = open(defaults_file, "w+")
defaults.write("GRUB_TIMEOUT=%d\n" % self.timeout)
- defaults.write("GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' /etc/system-release)\""))
+ defaults.write("GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' /etc/system-release)\"")
defaults.write("GRUB_DEFAULT=saved\n")
if self.console and self.console.startswith("ttyS"):
defaults.write("GRUB_TERMINAL=\"serial console\"\n")