From: Mike Bayer Date: Sun, 12 Nov 2006 23:23:42 +0000 (+0000) Subject: one of those non-2.3 generators got in there... X-Git-Tag: rel_0_3_1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=508e5b1a5726ae6cc4a0f68861a8879af0edfb85;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git one of those non-2.3 generators got in there... --- 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: