From: Mike Bayer Date: Tue, 21 Mar 2006 20:03:45 +0000 (+0000) Subject: added "name" back to FromClause X-Git-Tag: rel_0_1_5~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5da1c995793009f8bd4500f87408c582a27abb2;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git added "name" back to FromClause --- diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index e87fd3443b..b945587bd4 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -571,7 +571,7 @@ class ColumnElement(Selectable, CompareMixin): class FromClause(Selectable): """represents an element that can be used within the FROM clause of a SELECT statement.""" def __init__(self, from_name = None): - self.from_name = from_name + self.from_name = self.name = from_name def _get_from_objects(self): # this could also be [self], at the moment it doesnt matter to the Select object return []