Run 2to3.

This commit is contained in:
Ryan Stein 2017-10-29 13:40:30 -04:00
parent a5a8d9dd57
commit 6fa280b9fd
157 changed files with 976 additions and 976 deletions

View file

@ -340,7 +340,7 @@ class TypedObject(SharedMemoryModel):
return smart_str("%s" % self.db_key)
def __unicode__(self):
return u"%s" % self.db_key
return "%s" % self.db_key
#@property
def __dbid_get(self):
@ -430,7 +430,7 @@ class TypedObject(SharedMemoryModel):
typeclass.
"""
if isinstance(typeclass, basestring):
if isinstance(typeclass, str):
typeclass = [typeclass] + ["%s.%s" % (prefix, typeclass) for prefix in settings.TYPECLASS_PATHS]
else:
typeclass = [typeclass.path]