From a52ff660744b2cf5825f25e5607ed896804aba59 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 3 Mar 2013 19:26:20 -0500 Subject: [PATCH] print statement ! --- lib/sqlalchemy/orm/attributes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 59cc461ff9..683e0eb013 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -1011,7 +1011,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, @@ -1026,9 +1026,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, -- 2.47.2