diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-06-30 10:43:53 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-06-30 10:43:53 -0400 |
commit | 287e9d6a77ef20da98c28901fd118f4401aaab41 (patch) | |
tree | 0a3fe0b9fd1c0c254336986e7a5a984979588139 /lib/sqlalchemy/ext/mutable.py | |
parent | fc4f7de0051334987326de1e74cd86d2a08e2e07 (diff) | |
download | sqlalchemy-287e9d6a77ef20da98c28901fd118f4401aaab41.tar.gz |
- Fixed bug in the mutable extension whereby
if the same type were used twice in one
mapping, the attributes beyond the first
would not get instrumented.
Diffstat (limited to 'lib/sqlalchemy/ext/mutable.py')
-rw-r--r-- | lib/sqlalchemy/ext/mutable.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 39204f59d..b31710ca8 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -461,7 +461,6 @@ class Mutable(MutableBase): if hasattr(prop, 'columns'): if isinstance(prop.columns[0].type, sqltype): cls.associate_with_attribute(getattr(class_, prop.key)) - break event.listen(mapper, 'mapper_configured', listen_for_type) @@ -503,7 +502,6 @@ class Mutable(MutableBase): if hasattr(prop, 'columns'): if prop.columns[0].type is sqltype: cls.associate_with_attribute(getattr(class_, prop.key)) - break event.listen(mapper, 'mapper_configured', listen_for_type) |