mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-05 23:37:20 -04:00
merge default
This commit is contained in:
@@ -1078,7 +1078,7 @@ def backref_listeners(attribute, key, uselist):
|
||||
instance_dict(child)
|
||||
child_impl = child_state.manager[key].impl
|
||||
if initiator.parent_token is not parent_token and \
|
||||
initiator.parent_token is not child_impl.parent_token:
|
||||
initiator.parent_token is not child_impl.parent_token:
|
||||
_acceptable_key_err(state, initiator, child_impl)
|
||||
child_impl.append(
|
||||
child_state,
|
||||
@@ -1096,9 +1096,8 @@ def backref_listeners(attribute, key, uselist):
|
||||
instance_dict(child)
|
||||
child_impl = child_state.manager[key].impl
|
||||
|
||||
print initiator.parent_token, parent_token, child_impl.parent_token
|
||||
if initiator.parent_token is not parent_token and \
|
||||
initiator.parent_token is not child_impl.parent_token:
|
||||
initiator.parent_token is not child_impl.parent_token:
|
||||
_acceptable_key_err(state, initiator, child_impl)
|
||||
child_impl.append(
|
||||
child_state,
|
||||
|
||||
Reference in New Issue
Block a user