summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-18 21:52:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:01 +0100
commited7abe6b9a2ff81d320e7c63841487d37e61b5a5 (patch)
tree783819e427cc29027d91ccd7ff0d6e7ba25b43ca /meta
parent7eab022d4b484aec40998f95835ba46c5da168cf (diff)
downloadpoky-ed7abe6b9a2ff81d320e7c63841487d37e61b5a5.tar.gz
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 <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/files/ext-sdk-prepare.py2
1 files changed, 1 insertions, 1 deletions
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
8 8
9def exec_watch(cmd, **options): 9def exec_watch(cmd, **options):
10 """Run program with stdout shown on sys.stdout""" 10 """Run program with stdout shown on sys.stdout"""
11 if isinstance(cmd, basestring) and not "shell" in options: 11 if isinstance(cmd, str) and not "shell" in options:
12 options["shell"] = True 12 options["shell"] = True
13 13
14 process = subprocess.Popen( 14 process = subprocess.Popen(