From 508e5b1a5726ae6cc4a0f68861a8879af0edfb85 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 12 Nov 2006 23:23:42 +0000 Subject: [PATCH] one of those non-2.3 generators got in there... --- lib/sqlalchemy/topological.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/topological.py b/lib/sqlalchemy/topological.py index 25e57632bc..5bd691f311 100644 --- a/lib/sqlalchemy/topological.py +++ b/lib/sqlalchemy/topological.py @@ -260,7 +260,7 @@ class QueueDependencySorter(object): for parent in edges.get_parents(): traverse(parent) - for cycle in dict((id(s), s) for s in cycles.values()).values(): + for cycle in dict([(id(s), s) for s in cycles.values()]).values(): edgecollection = [] for edge in edges: if edge[0] in cycle and edge[1] in cycle: -- 2.47.2