diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-28 14:44:21 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-28 14:44:21 -0400 |
commit | fc624dcfa40bf765bbfffa2fd964f73422e4dbe8 (patch) | |
tree | 4c60b035430dc65592c7dbefec5788538c438512 /lib/sqlalchemy/engine/base.py | |
parent | 18370ac032a84da539c54640a425c0fca7613dc9 (diff) | |
download | sqlalchemy-fc624dcfa40bf765bbfffa2fd964f73422e4dbe8.tar.gz |
- test_types, test_compiler, with sqlite at least
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index dbc1ff820..d4ced4cca 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -734,7 +734,9 @@ class Connection(Connectable): distilled_params = _distill_params(multiparams, params) if distilled_params: - keys = list(distilled_params[0]) + # need list() + keys() here to suit + # both dict and RowProxy + keys = list(distilled_params[0].keys()) else: keys = [] |