Fixed a typeclass call.
This commit is contained in:
parent
c6c91c7a0b
commit
9321573c23
1 changed files with 1 additions and 1 deletions
|
|
@ -1263,7 +1263,7 @@ class TypedObject(SharedMemoryModel):
|
||||||
_SA(self, "typeclass_path", new_typeclass.strip())
|
_SA(self, "typeclass_path", new_typeclass.strip())
|
||||||
# this will automatically use a default class if
|
# this will automatically use a default class if
|
||||||
# there is an error with the given typeclass.
|
# there is an error with the given typeclass.
|
||||||
new_typeclass = self.typeclass
|
new_typeclass = self
|
||||||
if self.typeclass_path != new_typeclass.path and no_default:
|
if self.typeclass_path != new_typeclass.path and no_default:
|
||||||
# something went wrong; the default was loaded instead,
|
# something went wrong; the default was loaded instead,
|
||||||
# and we don't allow that; instead we return to previous.
|
# and we don't allow that; instead we return to previous.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue