diff options
Diffstat (limited to 'scripts/lib/wic/kickstart/custom_commands/wicboot.py')
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/wicboot.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/lib/wic/kickstart/custom_commands/wicboot.py b/scripts/lib/wic/kickstart/custom_commands/wicboot.py index 0230df2f4b..a3e1852be2 100644 --- a/scripts/lib/wic/kickstart/custom_commands/wicboot.py +++ b/scripts/lib/wic/kickstart/custom_commands/wicboot.py | |||
@@ -49,12 +49,12 @@ class Wic_Bootloader(F8_Bootloader): | |||
49 | return retval | 49 | return retval |
50 | 50 | ||
51 | def _getParser(self): | 51 | def _getParser(self): |
52 | op = F8_Bootloader._getParser(self) | 52 | parser = F8_Bootloader._getParser(self) |
53 | op.add_option("--menus", dest="menus") | 53 | parser.add_option("--menus", dest="menus") |
54 | op.add_option("--ptable", dest="ptable", choices=("msdos", "gpt"), | 54 | parser.add_option("--ptable", dest="ptable", choices=("msdos", "gpt"), |
55 | default="msdos") | 55 | default="msdos") |
56 | # use specified source plugin to implement bootloader-specific methods | 56 | # use specified source plugin to implement bootloader-specific methods |
57 | op.add_option("--source", type="string", action="store", | 57 | parser.add_option("--source", type="string", action="store", |
58 | dest="source", default=None) | 58 | dest="source", default=None) |
59 | return op | 59 | return parser |
60 | 60 | ||