summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorKyle Stark <kyle@goodrx.com>2014-01-13 08:52:31 -0800
committerKyle Stark <kyle@goodrx.com>2014-01-13 08:52:31 -0800
commit58d3a4147361315fec2979e7bf933f4bd30ae46b (patch)
treeca934274c63d3a4f1c80233fb7e4b656573e3619 /lib/sqlalchemy/sql/compiler.py
parent5d973d52aa7d1e5b715ffb99800642cc2af4d972 (diff)
downloadsqlalchemy-pr/58.tar.gz
Fix TypeError for class_mapper called w/ iterablepr/58
When the class_ passed is not a mapped class but is actually an iterable, the string formatting operation fails with a TypeError, and the expected ArgumentError is not raised. Calling code which is using reflection and expects this error will fail (e.g. the sadisplay module).
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions