Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Chan, Aaron Chun Yew
Hi Richard, This is what I did on which you asked me to do ~/yocto-autobuilder-helper/janitor/clobberdir 1. Change to use python3 #!/usr/bin/env/python2 to #!/usr/bin/env/python3 Retain and add print to debug message trashdir = ourconfig["TRASH_DIR"] print(trashdir)

Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Richard Purdie
Hi Aaron, On Wed, 2018-07-04 at 06:42 +, Chan, Aaron Chun Yew wrote: > This morning I had the new autobuilder setup from scratch with the > latest patch you just check out, thanks for that and rollout the fix > below manually. Everything else is clean and I did what you asked me > to. >

Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Chan, Aaron Chun Yew
Hello Richard, This morning I had the new autobuilder setup from scratch with the latest patch you just check out, thanks for that and rollout the fix below manually. Everything else is clean and I did what you asked me to. However this did not resolved the data expansion when called

[yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-04 Thread Aaron Chan
Patch fix on utils:getconfig:expandresult function to handle the expansion This patch is to add a condition to handle unicode entries as dict & list have been handled during expandresult. janitor/clobberdir: [line 46]: changes from : trashdir = ourconfig["TRASH_DIR"] to : trashdir =

Re: [yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-03 Thread Richard Purdie
On Tue, 2018-07-03 at 09:44 +0800, Aaron Chan wrote: > Updated patch to trigger handlestr() when unicode string is found > during iteration json.loads(config.json). Unicode and list with data > expansion were not handled hence adding this patch to handle > conversion. > Added a debug message to

[yocto] [PATCH] [yocto-ab-helper] utils.py: Resolved unicode data expansion

2018-07-02 Thread Aaron Chan
Updated patch to trigger handlestr() when unicode string is found during iteration json.loads(config.json). Unicode and list with data expansion were not handled hence adding this patch to handle conversion. Added a debug message to dump pretty json data populated to ourconfig[c]. e.g