summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/activemapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/ext/activemapper.py')
-rw-r--r--lib/sqlalchemy/ext/activemapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/activemapper.py b/lib/sqlalchemy/ext/activemapper.py
index 004caf849..2fcf44f61 100644
--- a/lib/sqlalchemy/ext/activemapper.py
+++ b/lib/sqlalchemy/ext/activemapper.py
@@ -1,5 +1,5 @@
from sqlalchemy import create_session, relation, mapper, \
- join, DynamicMetaData, class_mapper, \
+ join, ThreadLocalMetaData, class_mapper, \
util, Integer
from sqlalchemy import and_, or_
from sqlalchemy import Table, Column, ForeignKey
@@ -14,7 +14,7 @@ import sys
#
# the "proxy" to the database engine... this can be swapped out at runtime
#
-metadata = DynamicMetaData("activemapper")
+metadata = ThreadLocalMetaData("activemapper")
try:
objectstore = sqlalchemy.objectstore