mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-05 15:23:48 -04:00
- fix py3k bug re: dictionary values(), fixes #3005
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user