diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-09-21 16:56:14 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-09-21 16:56:14 -0400 |
| commit | 2aa80d40d2c9a00bb87a145bba1f01c327b6000b (patch) | |
| tree | b27660b881d695c3cba82b93d2020c566c4fa6c0 /lib/sqlalchemy/orm/interfaces.py | |
| parent | 36e2b2d8750ca5bcf0345733973f5ed097d2949a (diff) | |
| download | sqlalchemy-2aa80d40d2c9a00bb87a145bba1f01c327b6000b.tar.gz | |
- Adjusted the "importlater" mechanism, which is
used internally to resolve import cycles,
such that the usage of __import__ is completed
when the import of sqlalchemy or sqlalchemy.orm
is done, thereby avoiding any usage of __import__
after the application starts new threads,
fixes [ticket:2279]. Also in 0.6.9.
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
| -rw-r--r-- | lib/sqlalchemy/orm/interfaces.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py index 893d6ea2a..334d6d378 100644 --- a/lib/sqlalchemy/orm/interfaces.py +++ b/lib/sqlalchemy/orm/interfaces.py @@ -21,7 +21,7 @@ from itertools import chain from sqlalchemy import exc as sa_exc from sqlalchemy import util from sqlalchemy.sql import operators -deque = util.importlater('collections').deque +deque = __import__('collections').deque mapperutil = util.importlater('sqlalchemy.orm', 'util') |
