diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-18 21:52:33 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:10:03 +0100 |
commit | e8cfab060f4ff3c4c16387871354d407910e87aa (patch) | |
tree | 59ae168cb8d2c7ef9fa2a1d18f42ea99c540d14c /scripts/lib/devtool | |
parent | 25d4d8274bac696a484f83d7f3ada778cf95f4d0 (diff) | |
download | openembedded-core-e8cfab060f4ff3c4c16387871354d407910e87aa.tar.gz openembedded-core-e8cfab060f4ff3c4c16387871354d407910e87aa.tar.bz2 openembedded-core-e8cfab060f4ff3c4c16387871354d407910e87aa.zip |
scripts: Replace basestring -> str for python3
Python 3 doesn't have basestring type as all string
are unicode strings.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r-- | scripts/lib/devtool/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 506d95b0f7..6f5bb8dba0 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py @@ -59,7 +59,7 @@ def exec_build_env_command(init_path, builddir, cmd, watch=False, **options): def exec_watch(cmd, **options): """Run program with stdout shown on sys.stdout""" import bb - if isinstance(cmd, basestring) and not "shell" in options: + if isinstance(cmd, str) and not "shell" in options: options["shell"] = True process = subprocess.Popen( |