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:24:01 +0100 |
commit | ed7abe6b9a2ff81d320e7c63841487d37e61b5a5 (patch) | |
tree | 783819e427cc29027d91ccd7ff0d6e7ba25b43ca /scripts/lib/scriptutils.py | |
parent | 7eab022d4b484aec40998f95835ba46c5da168cf (diff) | |
download | poky-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 'scripts/lib/scriptutils.py')
-rw-r--r-- | scripts/lib/scriptutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py index aef19d3d73..bd082d8581 100644 --- a/scripts/lib/scriptutils.py +++ b/scripts/lib/scriptutils.py | |||
@@ -103,7 +103,7 @@ def fetch_uri(d, uri, destdir, srcrev=None): | |||
103 | return ret | 103 | return ret |
104 | 104 | ||
105 | def run_editor(fn): | 105 | def run_editor(fn): |
106 | if isinstance(fn, basestring): | 106 | if isinstance(fn, str): |
107 | params = '"%s"' % fn | 107 | params = '"%s"' % fn |
108 | else: | 108 | else: |
109 | params = '' | 109 | params = '' |