summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/activemapper.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-06-05 23:28:44 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-06-05 23:28:44 +0000
commita4252a12b0e1411cea7a636025ef9b97cb824f17 (patch)
tree3c3521a7df2c3102d95aae21173cddf53d9d4f89 /lib/sqlalchemy/ext/activemapper.py
parent20563ddaddaff86235285f55a504bc8a43763776 (diff)
downloadsqlalchemy-a4252a12b0e1411cea7a636025ef9b97cb824f17.tar.gz
HashSet is gone, uses set() for most sets in py2.4 or sets.Set.
ordered set functionality supplied by a subclass of sets.Set
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 74f4df349..aa71471d2 100644
--- a/lib/sqlalchemy/ext/activemapper.py
+++ b/lib/sqlalchemy/ext/activemapper.py
@@ -1,4 +1,4 @@
-from sqlalchemy import create_session, relation, mapper, join, DynamicMetaData, class_mapper
+from sqlalchemy import create_session, relation, mapper, join, DynamicMetaData, class_mapper, util
from sqlalchemy import and_, or_
from sqlalchemy import Table, Column, ForeignKey
from sqlalchemy.ext.sessioncontext import SessionContext
@@ -108,7 +108,7 @@ def process_relationships(klass, was_deferred=False):
class ActiveMapperMeta(type):
classes = {}
- metadatas = sets.Set()
+ metadatas = util.Set()
def __init__(cls, clsname, bases, dict):
table_name = clsname.lower()
columns = []