Start converting latest develop unittests to py3
This commit is contained in:
parent
90b42ca6fb
commit
b3dc85a4dc
4 changed files with 21 additions and 22 deletions
|
|
@ -689,7 +689,7 @@ def spawn(*prototypes, **kwargs):
|
|||
"""
|
||||
# search string (=prototype_key) from input
|
||||
prototypes = [protlib.search_prototype(prot, require_single=True)[0]
|
||||
if isinstance(prot, basestring) else prot
|
||||
if isinstance(prot, str) else prot
|
||||
for prot in prototypes]
|
||||
|
||||
# get available protparents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue