summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/topological.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-03-08 23:14:25 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-03-08 23:14:25 +0000
commitc7a6d735ca25635a49f5a056e9e8fb7b62095006 (patch)
tree5fbca91333b1b5c73c70121fd0dde3508834ba7b /lib/sqlalchemy/topological.py
parent46b82976bf8651500de6e1c4ccf8c20d535a14e9 (diff)
downloadsqlalchemy-c7a6d735ca25635a49f5a056e9e8fb7b62095006.tar.gz
- fixed usage of 2.4-only "reversed" in topological.py [ticket:506]
Diffstat (limited to 'lib/sqlalchemy/topological.py')
-rw-r--r--lib/sqlalchemy/topological.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/topological.py b/lib/sqlalchemy/topological.py
index 41fa9d9b2..bad71293e 100644
--- a/lib/sqlalchemy/topological.py
+++ b/lib/sqlalchemy/topological.py
@@ -245,7 +245,7 @@ class QueueDependencySorter(object):
# order of the list has no semantics for the algorithmic
independents = []
# in reverse topological order
- for node in reversed(nodes):
+ for node in util.reversed(nodes):
# nodes subtree and cycles contain the node itself
subtree = util.Set([node])
if node.cycles is not None: