From f4871697774a512bebf0dd11866d3b0e8eb54b91 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 4 Oct 2008 16:09:16 +0000 Subject: - added a few more assertions for [ticket:1165] - removed non-2.5 partial.keywords, partial.name, etc., not sure what those are getting us here --- lib/sqlalchemy/schema.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index d859b9061..df994d689 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -548,6 +548,8 @@ class Column(SchemaItem, expression._ColumnClause): name = args.pop(0) if args: coltype = args[0] + + # adjust for partials if callable(coltype): coltype = args[0]() -- cgit v1.2.1