Mike Bayer  committed f60d10c

removed unnecessary value grab

  • Participants
  • Parent commits ed2bf0b

Comments (0)

Files changed (1)

File lib/sqlalchemy/orm/

                     orig = state.get('original', None)
                     if orig is not None:
                         orig.commit_attribute(self, obj)
-                    return obj.__dict__[self.key]
+                    return value
                     # note that we arent raising AttributeErrors, just returning None.
                     # this might be a good thing to be changeable by options.