wic: rename variable
Renamed variable help -> hlp as 'help' is a name of Python built-in function. (From OE-Core rev: 94c85fdaec36bfda509be4a66082a0156bf76695) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b41de121c6
commit
31324ed0ea
|
@ -41,9 +41,9 @@ def display_help(subcommand, subcommands):
|
|||
if subcommand not in subcommands:
|
||||
return False
|
||||
|
||||
help = subcommands.get(subcommand, subcommand_error)[2]
|
||||
hlp = subcommands.get(subcommand, subcommand_error)[2]
|
||||
pager = subprocess.Popen('less', stdin=subprocess.PIPE)
|
||||
pager.communicate(help)
|
||||
pager.communicate(hlp)
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue