diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-28 11:02:34 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-28 11:02:34 -0400 |
commit | 610e0594e249cd0bb28cb2bd4a7624f63f4510bb (patch) | |
tree | ae08d6a6d11e56b021f767ba0dbfe73ec1c5129a | |
parent | 4d93a52e77895f87570b00f8f0c9b4088d078695 (diff) | |
download | sqlalchemy-610e0594e249cd0bb28cb2bd4a7624f63f4510bb.tar.gz |
- fix py3k bug re: dictionary values(), fixes #3005
-rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 7a220f949..9a43c404d 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -761,7 +761,7 @@ class Join(FromClause): "Can't find any foreign key relationships " "between '%s' and '%s'.%s" % (a.description, b.description, hint)) - crit = [(x == y) for x, y in constraints.values()[0]] + crit = [(x == y) for x, y in list(constraints.values())[0]] if len(crit) == 1: return (crit[0]) else: |