[yocto] [PATCH] [yocto-ab-helper] clobberdir: Fix Unicode data expansion with utils API

Aaron Chan aaron.chun.yew.chan at intel.com
Wed Jul 4 22:34:47 PDT 2018


This fix is to move clobberdir from python2 to python3 to resolve unicode data
in python2 and change the data extraction expansion from ourconfig["TRASH_DIR"]
to utils.getconfig("TRASH_DIR", ourconfig) on "Clobber build dir" BuildStep

Signed-off-by: Aaron Chan <aaron.chun.yew.chan at intel.com>
---
 janitor/clobberdir | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/janitor/clobberdir b/janitor/clobberdir
index 5e04ed7..b05a876 100755
--- a/janitor/clobberdir
+++ b/janitor/clobberdir
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 #
 # Delete a directory using the ionice backgrounded command
 #
-- 
2.7.4



More information about the yocto mailing list