diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-04 16:06:14 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:13 +0100 |
commit | 0c57dd96c85612e2c616966ae21fcbbb11bdc066 (patch) | |
tree | 4895dd1b43faf418375d4fdf2d91745ac34d302f /scripts/lib/wic/help.py | |
parent | 4dadbbdd46195fc60cd91f589102bca31cea3c2e (diff) | |
download | poky-0c57dd96c85612e2c616966ae21fcbbb11bdc066.tar.gz |
wic: replace print statements with print function
Print statements have been replaced with print function in
Python 3. Replaced them in wic code to be able to run it
under both Python 2 and Python 3.
[YOCTO #9412]
(From OE-Core rev: ee6979a19c77931c3cf6368e695e370d46192fef)
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/help.py')
-rw-r--r-- | scripts/lib/wic/help.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index 394e3fde2d..158b6c1ae0 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py | |||
@@ -55,7 +55,7 @@ def wic_help(args, usage_str, subcommands): | |||
55 | Subcommand help dispatcher. | 55 | Subcommand help dispatcher. |
56 | """ | 56 | """ |
57 | if len(args) == 1 or not display_help(args[1], subcommands): | 57 | if len(args) == 1 or not display_help(args[1], subcommands): |
58 | print usage_str | 58 | print(usage_str) |
59 | 59 | ||
60 | 60 | ||
61 | def get_wic_plugins_help(): | 61 | def get_wic_plugins_help(): |