From e8cfab060f4ff3c4c16387871354d407910e87aa 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. Signed-off-by: Ed Bartosh --- meta/files/ext-sdk-prepare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/files/ext-sdk-prepare.py') 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 1.2.3-korg