- fix py3k bug re: dictionary values(), fixes #3005

This commit is contained in:
Mike Bayer
2014-03-28 11:02:34 -04:00
parent 4d93a52e77
commit 610e0594e2
+1 -1
View File
@@ -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: