diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:16 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:31 +0100 |
commit | 791a3912d98014105bdb2a8585e4a1b7ae8120b1 (patch) | |
tree | bcfb06b795482f6113cfa6b5c967a0bbb9b4bc1c /scripts/lib/wic/kickstart/custom_commands/wicboot.py | |
parent | 14b47e22f9b2566320ab6ef103da1501bca129de (diff) | |
download | poky-791a3912d98014105bdb2a8585e4a1b7ae8120b1.tar.gz |
wic: fix short variable names
Made short variable names longer and more readable.
Fixed pylint warnings "Invalid variable name" and
"Invalid argument name".
(From OE-Core rev: 872cb0d5d79b26f34e6b35d7be8870d245021be4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | ||