Minor bug in error reporting
Issue #2322
resolved
When tuple is passed to query() method I get the error:
File "sqlalchemy/orm/query.py", line 3062, in __init__
"expected - got '%r'" % column
TypeError: not all arguments converted during string formatting
The fix is simple, just use single item tuple as right operand:
"expected - got '%r'" % (column,)
Comments (3)
-
repo owner -
repo owner - changed status to duplicate
I know why this looks familiar now, because its
#2297. going to target that at 0.7.4 with a note to add for 0.6.9 as well. -
repo owner - removed milestone
Removing milestone: 0.7.4 (automated comment)
- Log in to comment
wow thought I had gotten all of those.