]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
tweak to TableImpl/ColumnImpl with the way they get their attribute
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Feb 2006 00:20:23 +0000 (00:20 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Feb 2006 00:20:23 +0000 (00:20 +0000)
lib/sqlalchemy/ext/proxy.py

index 4db001653b0cf29c261b2e02755702d3475da79d..c1bdd9fa534fb5dbda7944f12a46e87c3787545e 100644 (file)
@@ -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: