fix rows to rows.rowcount

This commit is contained in:
Chen Liu 2014-01-31 15:53:30 -05:00 committed by Stefan Wehrmeyer
parent 5b162feea7
commit 03cb294e34

View File

@ -182,7 +182,7 @@ class Table(object):
else:
stmt = self.table.delete()
rows = self.database.executable.execute(stmt)
return rows > 0
return rows.rowcount > 0
def _ensure_columns(self, row, types={}):
# Keep order of inserted columns