summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/attributes.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-05-18 16:21:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-05-18 16:21:42 +0000
commit7ff23a5218e05ae7e543e31f18b1a3fbe650e4cb (patch)
treeb0dacbbbdf41a8026abfe3bfdeaba33a9891133d /lib/sqlalchemy/orm/attributes.py
parentd7e531ce9f0def1f08d78b3a7a7d6f268c5eb0bb (diff)
downloadsqlalchemy-7ff23a5218e05ae7e543e31f18b1a3fbe650e4cb.tar.gz
- Fixed an attribute error introduced in 0.5.4 which wouldrel_0_5_4p1
occur when merge() was used with an incomplete object.
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r--lib/sqlalchemy/orm/attributes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py
index 4fa41ff3b..4fe562110 100644
--- a/lib/sqlalchemy/orm/attributes.py
+++ b/lib/sqlalchemy/orm/attributes.py
@@ -376,7 +376,7 @@ class AttributeImpl(object):
return self.set_committed_value(state, dict_, value)
else:
if self.key not in dict_:
- return self.get(state, passive=passive)
+ return self.get(state, dict_, passive=passive)
return dict_[self.key]
# Return a new, empty value