From 37d251c3a3f0b81fa910df996f54bc0be22cf846 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Fri, 28 Jun 2019 18:21:25 +0800 Subject: waf: python2 -> python3 Signed-off-by: Robert Yang --- meta/recipes-graphics/eglinfo/files/waf | 4 ++-- 1 file 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 -- cgit 1.2.3-korg