fixed table dropping

This commit is contained in:
Gregor Aisch 2013-04-05 00:47:28 +02:00
parent fe3e5f5df5
commit ee844732b2

View File

@ -41,8 +41,8 @@ class Table(object):
"""
self._is_dropped = True
with self.database.lock:
self.database.tables.pop(self.table.name, None)
self.table.drop(engine)
self.database._tables.pop(self.table.name, None)
self.table.drop(self.database.engine)
def _check_dropped(self):
if self._is_dropped: