summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-06-28 18:21:25 +0800
committerRobert Yang <liezhi.yang@windriver.com>2019-06-28 20:19:50 +0800
commit37d251c3a3f0b81fa910df996f54bc0be22cf846 (patch)
treed22b58693592b3e8e9b65a84e71db68742dc47e1
parentdd3dd061e7b576186139fb9524642519f454dd94 (diff)
downloadopenembedded-core-contrib-rbt/py3.tar.gz
openembedded-core-contrib-rbt/py3.tar.bz2
openembedded-core-contrib-rbt/py3.zip
waf: python2 -> python3rbt/py3
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rwxr-xr-xmeta/recipes-graphics/eglinfo/files/waf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/eglinfo/files/waf b/meta/recipes-graphics/eglinfo/files/waf
index 04ddd9f63a..2c83ed493e 100755
--- a/meta/recipes-graphics/eglinfo/files/waf
+++ b/meta/recipes-graphics/eglinfo/files/waf
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# encoding: latin-1
# Thomas Nagy, 2005-2018
#
@@ -113,7 +113,7 @@ def unpack_wafdir(dir, src):
os.remove(tmp)
os.chdir(cwd)
- try: dir = unicode(dir, 'mbcs')
+ try: dir = str(dir, 'mbcs')
except: pass
try:
from ctypes import windll