diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-03-03 19:25:49 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-03-03 19:25:49 -0500 |
commit | f4679ea26cb05eab35ffa28ce140a7fff5b46ff8 (patch) | |
tree | ba9aba9edd0a91baebc39c7da1885a0e5d489389 /lib/sqlalchemy/orm/attributes.py | |
parent | 383c3fede503baaf6342b08d4e168bb96befcd6f (diff) | |
download | sqlalchemy-f4679ea26cb05eab35ffa28ce140a7fff5b46ff8.tar.gz |
yikes, print statement !
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r-- | lib/sqlalchemy/orm/attributes.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index b281fabec..891aef862 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -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, |