mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7eab022d4b
commit
ed7abe6b9a
@@ -103,7 +103,7 @@ def fetch_uri(d, uri, destdir, srcrev=None):
|
||||
return ret
|
||||
|
||||
def run_editor(fn):
|
||||
if isinstance(fn, basestring):
|
||||
if isinstance(fn, str):
|
||||
params = '"%s"' % fn
|
||||
else:
|
||||
params = ''
|
||||
|
||||
Reference in New Issue
Block a user