Commits

Mike Bayer committed fd2bf7d

tweak to TableImpl/ColumnImpl with the way they get their attribute

Comments (0)

Files changed (1)

lib/sqlalchemy/ext/proxy.py

         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:
         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: