From: Ed Bartosh <ed.bart...@linux.intel.com> Encoded help text before sending it to pager.communicate as it expects binary.
[YOCTO #9412] Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- scripts/lib/wic/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index 6395596..e5347ec 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py @@ -45,7 +45,7 @@ def display_help(subcommand, subcommands): if callable(hlp): hlp = hlp() pager = subprocess.Popen('less', stdin=subprocess.PIPE) - pager.communicate(hlp) + pager.communicate(hlp.encode('utf-8')) return True -- 2.5.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core