Skip to content

Commit

Permalink
reverted to old faster solution
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 30, 2016
1 parent e22509d commit ab46bc0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/quorum/typesf.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,7 @@ def __setattr__(self, name, value):
# in case the name that is being set is not part of the reserved
# names for the reference underlying structure the object resolution
# is triggered to make sure the underlying object exists and is loaded
# note that this is only performed if the underlying object is not
# already loaded into the current reference's dictionary
has_object = "_object" in self.__dict__ and self._object
if not has_object and not name in reserved: self.resolve()
if not name in reserved: self.resolve()

# verifies if the reference object exists in the current
# reference instance, that's the case if the object name is
Expand Down

0 comments on commit ab46bc0

Please sign in to comment.