]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix typo
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 23 Oct 2010 17:43:39 +0000 (13:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 23 Oct 2010 17:43:39 +0000 (13:43 -0400)
lib/sqlalchemy/orm/query.py

index a1ed19243948e9589994fd3a6f1fb1c849715603..468bcc19d61a19be646efc1cc41b1e2746c22afa 100644 (file)
@@ -796,7 +796,7 @@ class Query(object):
             # and then ordered by related email address
             q = session.query(User).\\
                         join(User.address).\\
-                        filter(User.name.like.('%ed%')).\\
+                        filter(User.name.like('%ed%')).\\
                         order_by(Address.email)
 
             # given *only* User.id==5, Address.email, and 'q', what