fix rows to rows.rowcount

This commit is contained in:
Chen Liu
2014-02-04 09:23:49 +01:00
committed by Stefan Wehrmeyer
parent 5b162feea7
commit 03cb294e34
+1 -1
View File
@@ -182,7 +182,7 @@ class Table(object):
else: else:
stmt = self.table.delete() stmt = self.table.delete()
rows = self.database.executable.execute(stmt) rows = self.database.executable.execute(stmt)
return rows > 0 return rows.rowcount > 0
def _ensure_columns(self, row, types={}): def _ensure_columns(self, row, types={}):
# Keep order of inserted columns # Keep order of inserted columns