summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index f0bcd400a..de8f08f9b 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -2486,9 +2486,9 @@ class ColumnCollection(util.OrderedProperties):
existing = self[key]
if not existing.shares_lineage(value):
util.warn('Column %r on table %r being replaced by '
- 'another column with the same key. Consider '
+ '%r , which has the same key. Consider '
'use_labels for select() statements.' % (key,
- getattr(existing, 'table', None)))
+ getattr(existing, 'table', None), value))
self._all_cols.remove(existing)
# pop out memoized proxy_set as this
# operation may very well be occurring