From: Mike Bayer Date: Wed, 11 Nov 2015 19:21:02 +0000 (-0500) Subject: - correct the commit from ref #3582 to refer to the correct sub-element X-Git-Tag: rel_1_1_0b1~84^2~70^2~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3370cbde509b3e230c46a503956f11f78df74b88;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - correct the commit from ref #3582 to refer to the correct sub-element --- diff --git a/lib/sqlalchemy/sql/util.py b/lib/sqlalchemy/sql/util.py index 5def704442..676e45a24c 100644 --- a/lib/sqlalchemy/sql/util.py +++ b/lib/sqlalchemy/sql/util.py @@ -213,7 +213,7 @@ def surface_column_elements(clause): elem = stack.popleft() yield elem for sub in elem.get_children(): - if isinstance(elem, FromGrouping): + if isinstance(sub, FromGrouping): continue stack.append(sub)