From: Mike Bayer Date: Wed, 2 Apr 2014 22:14:10 +0000 (-0400) Subject: escape backslash X-Git-Tag: rel_0_9_5~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aba956a85dc090affea2548a912891f2d9bbfff0;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git escape backslash --- diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 2aa2c0f405..afcf437e9d 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -1478,7 +1478,7 @@ class SelectBase(Executable, FromClause): included_parts.c.sub_part, func.sum(included_parts.c.quantity). label('total_quantity') - ]).\ + ]).\\ group_by(included_parts.c.sub_part) result = conn.execute(statement).fetchall()