From 287e9d6a77ef20da98c28901fd118f4401aaab41 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 30 Jun 2011 10:43:53 -0400 Subject: - 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. --- lib/sqlalchemy/ext/mutable.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/sqlalchemy/ext/mutable.py') 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) -- cgit v1.2.1