diff options
author | Kyle Stark <kyle@goodrx.com> | 2014-01-13 08:52:31 -0800 |
---|---|---|
committer | Kyle Stark <kyle@goodrx.com> | 2014-01-13 08:52:31 -0800 |
commit | 58d3a4147361315fec2979e7bf933f4bd30ae46b (patch) | |
tree | ca934274c63d3a4f1c80233fb7e4b656573e3619 /lib/sqlalchemy/sql/compiler.py | |
parent | 5d973d52aa7d1e5b715ffb99800642cc2af4d972 (diff) | |
download | sqlalchemy-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