[oe-commits] Ed Bartosh : wic: rename variable

git at git.openembedded.org git at git.openembedded.org
Sun Aug 30 11:48:23 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 94c85fdaec36bfda509be4a66082a0156bf76695
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=94c85fdaec36bfda509be4a66082a0156bf76695

Author: Ed Bartosh <ed.bartosh at linux.intel.com>
Date:   Thu Aug 20 13:42:22 2015 +0300

wic: rename variable

Renamed variable help -> hlp as 'help' is a name of Python
built-in function.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>

Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 scripts/lib/image/help.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 5fa5836..dc6ff36 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -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
 



More information about the Openembedded-commits mailing list