summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/activemapper.py
diff options
context:
space:
mode:
authorGaëtan de Menten <gdementen@gmail.com>2007-04-27 09:50:00 +0000
committerGaëtan de Menten <gdementen@gmail.com>2007-04-27 09:50:00 +0000
commit732bc9ecf08b69ca688638d40841fb128e7b5417 (patch)
treeeab1bf34fe16cf33b963522e116d6c0f955f4b01 /lib/sqlalchemy/ext/activemapper.py
parent6a30f0ee3701172c37f03306731e4b14fe6acffb (diff)
downloadsqlalchemy-732bc9ecf08b69ca688638d40841fb128e7b5417.tar.gz
correct typo-equivalent mistakes in some comments/docstrings
Diffstat (limited to 'lib/sqlalchemy/ext/activemapper.py')
-rw-r--r--lib/sqlalchemy/ext/activemapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/activemapper.py b/lib/sqlalchemy/ext/activemapper.py
index bcfbac632..004caf849 100644
--- a/lib/sqlalchemy/ext/activemapper.py
+++ b/lib/sqlalchemy/ext/activemapper.py
@@ -271,11 +271,11 @@ class ActiveMapperMeta(type):
cls.table = Table(table_name, _metadata, autoload=True, **table_opts)
cls.columns = cls.table._columns
- # check for inheritence
if version_id_col is not None:
version_id_col_object = getattr(cls.table.c, version_id_col, None)
assert(version_id_col_object is not None, "version_id_col (%s) does not exist." % version_id_col)
+ # check for inheritence
if hasattr(bases[0], "mapping"):
cls._base_mapper= bases[0].mapper
assign_mapper(objectstore.context, cls, cls.table,