From ed7abe6b9a2ff81d320e7c63841487d37e61b5a5 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 18 May 2016 21:52:33 +0300 Subject: scripts: Replace basestring -> str for python3 Python 3 doesn't have basestring type as all string are unicode strings. (From OE-Core rev: e8cfab060f4ff3c4c16387871354d407910e87aa) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- meta/files/ext-sdk-prepare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/files') diff --git a/meta/files/ext-sdk-prepare.py b/meta/files/ext-sdk-prepare.py index 605e2ebefa..bf0d03336b 100644 --- a/meta/files/ext-sdk-prepare.py +++ b/meta/files/ext-sdk-prepare.py @@ -8,7 +8,7 @@ import subprocess def exec_watch(cmd, **options): """Run program with stdout shown on sys.stdout""" - if isinstance(cmd, basestring) and not "shell" in options: + if isinstance(cmd, str) and not "shell" in options: options["shell"] = True process = subprocess.Popen( -- cgit v1.2.3-54-g00ecf