summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/proxy.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-02-14 00:20:23 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-02-14 00:20:23 +0000
commit2b33187bd8e857465e6d10e7f274c7cd7f4b4054 (patch)
tree9c959a428c84e78f87d8a1b4d3716079d1f8995e /lib/sqlalchemy/ext/proxy.py
parentd9e3b89ac37e1929c7ae4f014f897b6c6f91249e (diff)
downloadsqlalchemy-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.py4
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: