]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
one of those non-2.3 generators got in there...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 12 Nov 2006 23:23:42 +0000 (23:23 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 12 Nov 2006 23:23:42 +0000 (23:23 +0000)
lib/sqlalchemy/topological.py

index 25e57632bc9445b1f5de0cd7ccb47a75a61dd99e..5bd691f311c421d3cd7ccf60c22403b8546eef50 100644 (file)
@@ -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: