]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
removed small cruftlet
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jul 2007 20:00:12 +0000 (20:00 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jul 2007 20:00:12 +0000 (20:00 +0000)
lib/sqlalchemy/orm/strategies.py

index 146af315dd28cf478f919614701e2bf889c27078..babd6e4c09860174351f601aa8afdbbff44165d2 100644 (file)
@@ -400,10 +400,6 @@ class LazyLoader(AbstractRelationLoader):
             if leftcol is None or rightcol is None:
                 return
             
-            # TODO: comprehensive negation support for expressions    
-            if op == '!=' and binary.operator == '==':
-                binary.operator = '!='
-                
             if should_bind(leftcol, rightcol):
                 col = leftcol
                 binary.left = binds.setdefault(leftcol,