[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/m removed
odict dependencies
Andreas Jung
andreas at andreas-jung.com
Sat Mar 17 09:52:07 EDT 2007
Log message for revision 73284:
removed odict dependencies
Changed:
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py
-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py 2007-03-17 13:49:38 UTC (rev 73283)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py 2007-03-17 13:52:06 UTC (rev 73284)
@@ -12,7 +12,6 @@
"""
import new
-import odict
import threading
from sqlalchemy import Table, mapper, BoundMetaData, relation
@@ -57,7 +56,7 @@
-class LazyMapperCollection(odict.OrderedDict):
+class LazyMapperCollection(dict):
""" Implements a cache for table mappers """
def __init__(self, wrapper):
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py 2007-03-17 13:49:38 UTC (rev 73283)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py 2007-03-17 13:52:06 UTC (rev 73284)
@@ -13,12 +13,11 @@
import sqlalchemy
-from odict import OrderedDict
__all__ = ('Model',)
-class Model(OrderedDict):
+class Model(dict):
""" The Model is an optional helper class that can be passed to the
constructor of a SQLAlchemy wrapper in order to provide hints for the mapper
generation.
More information about the Checkins
mailing list