From: Mike Bayer Date: Mon, 4 Mar 2013 00:25:49 +0000 (-0500) Subject: yikes, print statement ! X-Git-Tag: rel_0_8_0~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4679ea26cb05eab35ffa28ce140a7fff5b46ff8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git yikes, print statement ! --- diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index b281fabec4..891aef862a 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,