release lock in table.py

This commit is contained in:
Víctor Guzmán 2015-07-07 21:04:44 +02:00
parent 61b33d9d4f
commit b2dc8a3315

View File

@ -45,6 +45,7 @@ class Table(object):
self._is_dropped = True
self.database._tables.pop(self.table.name, None)
self.table.drop(self.database.engine)
self.database._release()
def _check_dropped(self):
if self._is_dropped: