Remove basestring mentions remnants of 2.7

This commit is contained in:
Griatch 2018-10-13 19:30:24 +02:00
parent e54b87b6fd
commit 58116ff900
10 changed files with 29 additions and 29 deletions

View file

@ -128,7 +128,7 @@ prototype, override its name with an empty dict.
"""
from __future__ import print_function
import copy
import hashlib
@ -447,7 +447,7 @@ def batch_update_objects_with_prototype(prototype, diff=None, objects=None):
"""
prototype = protlib.homogenize_prototype(prototype)
if isinstance(prototype, basestring):
if isinstance(prototype, str):
new_prototype = protlib.search_prototype(prototype)
else:
new_prototype = prototype