summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-20 13:42:22 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:36:08 +0100
commit31324ed0ea7fcc7fbfc7c2dfcdce8a571d3111c9 (patch)
tree712fa9cfe5dcdfb694a6cb1b888226eb93ac77c6 /scripts
parentb41de121c66920a86af29fa0e7e98013b388863e (diff)
downloadpoky-31324ed0ea7fcc7fbfc7c2dfcdce8a571d3111c9.tar.gz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/image/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 5fa5836d4e..dc6ff36610 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -41,9 +41,9 @@ def display_help(subcommand, subcommands):
41 if subcommand not in subcommands: 41 if subcommand not in subcommands:
42 return False 42 return False
43 43
44 help = subcommands.get(subcommand, subcommand_error)[2] 44 hlp = subcommands.get(subcommand, subcommand_error)[2]
45 pager = subprocess.Popen('less', stdin=subprocess.PIPE) 45 pager = subprocess.Popen('less', stdin=subprocess.PIPE)
46 pager.communicate(help) 46 pager.communicate(hlp)
47 47
48 return True 48 return True
49 49