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

index 59cc461ff9c6503605cae781ea6e488caffa6484..683e0eb01392b579700ca056ee0d2f4750f0b0ac 100644 (file)
@@ -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,