mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-30 04:24:38 -04:00
yikes, print statement !
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