]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
yikes, print statement !
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2013 00:25:49 +0000 (19:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2013 00:25:49 +0000 (19:25 -0500)
lib/sqlalchemy/orm/attributes.py

index b281fabec4b022ec08332324c13d251f95175aa2..891aef862acbdc5587f8f499ce32cf48c8084410 100644 (file)
@@ -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,