diff options
author | Jason Kirtland <jek@discorporate.us> | 2007-08-15 23:11:47 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2007-08-15 23:11:47 +0000 |
commit | 46535b25a642b596c1f43217fe00f6205bcc0ecb (patch) | |
tree | dc721e69f2d0b1f4a97b2f45f4071b1a3d63c831 /lib/sqlalchemy/topological.py | |
parent | fddc687348fe5e5b36b3207e5ff454bb901b64bc (diff) | |
download | sqlalchemy-46535b25a642b596c1f43217fe00f6205bcc0ecb.tar.gz |
use threading.local if available
speed up ThreadLocal for python 2.3 [ticket:743]
clean in topo (in patch from [ticket:743])
Diffstat (limited to 'lib/sqlalchemy/topological.py')
-rw-r--r-- | lib/sqlalchemy/topological.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/topological.py b/lib/sqlalchemy/topological.py index b744edaa5..a13923885 100644 --- a/lib/sqlalchemy/topological.py +++ b/lib/sqlalchemy/topological.py @@ -196,7 +196,7 @@ class QueueDependencySorter(object): for n in nodes.values(): if not edges.has_parents(n): queue.append(n) - cycles = {} + output = [] while nodes: if not queue: |