summaryrefslogtreecommitdiffstats
path: root/plugins/grub/grubUtils.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-10-23 16:24:15 +0200
committerJoel Andres Granados <jgranado@redhat.com>2008-10-24 15:01:13 +0200
commit2a433d8bbe31ff16156f5d2864f0435e9fc440ed (patch)
tree15b7d161f0e9e9706c9d514dc0907f9e588314e7 /plugins/grub/grubUtils.py
parent1615b70e2fdd6e36d4050ee9c55aaf15a0501a6f (diff)
downloadfirstaidkit-2a433d8bbe31ff16156f5d2864f0435e9fc440ed.tar.gz
firstaidkit-2a433d8bbe31ff16156f5d2864f0435e9fc440ed.tar.xz
firstaidkit-2a433d8bbe31ff16156f5d2864f0435e9fc440ed.zip
Create the revert function for the grub plugin.
Diffstat (limited to 'plugins/grub/grubUtils.py')
-rw-r--r--plugins/grub/grubUtils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/grub/grubUtils.py b/plugins/grub/grubUtils.py
index 1519d72..b390518 100644
--- a/plugins/grub/grubUtils.py
+++ b/plugins/grub/grubUtils.py
@@ -444,7 +444,7 @@ class Dname:
def grubName(self, parenthesis = False):
"""Change the kernel device name to something that grub understands
- It returns a string of the form hd[devicd],[partition]
+ It returns a string of the form hd[device],[partition]
"""
# First we search for the number that ends the device string.
@@ -469,7 +469,7 @@ class Dname:
raise Exception("The conversion from kernel device scheme to " \
"grub scheme failed.")
- # Decide weather to return with or withoug parenthesis.
+ # Decide weather to return with or without parenthesis.
if parenthesis:
openpar = "("
closepar = ")"