diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-02-14 00:20:23 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-02-14 00:20:23 +0000 |
commit | 2b33187bd8e857465e6d10e7f274c7cd7f4b4054 (patch) | |
tree | 9c959a428c84e78f87d8a1b4d3716079d1f8995e /lib/sqlalchemy/ext/proxy.py | |
parent | d9e3b89ac37e1929c7ae4f014f897b6c6f91249e (diff) | |
download | sqlalchemy-2b33187bd8e857465e6d10e7f274c7cd7f4b4054.tar.gz |
tweak to TableImpl/ColumnImpl with the way they get their attribute
Diffstat (limited to 'lib/sqlalchemy/ext/proxy.py')
-rw-r--r-- | lib/sqlalchemy/ext/proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/proxy.py b/lib/sqlalchemy/ext/proxy.py index 4db001653..c1bdd9fa5 100644 --- a/lib/sqlalchemy/ext/proxy.py +++ b/lib/sqlalchemy/ext/proxy.py @@ -93,7 +93,7 @@ class ProxyColumnImpl(sql.ColumnImpl): self._engine = engine self.impls = weakref.WeakKeyDictionary() def _get_impl(self): - e = self.engine + e = self._engine.engine try: return self.impls[e] except KeyError: @@ -111,7 +111,7 @@ class ProxyTableImpl(sql.TableImpl): self._engine = engine self.impls = weakref.WeakKeyDictionary() def _get_impl(self): - e = self.engine + e = self._engine.engine try: return self.impls[e] except KeyError: |