fixed two typos, issue 726, thanks I.like.privaty.too

This commit is contained in:
Massimo DiPierro committed 2012-03-20 20:29:01 -05:00
1 parent 84de17dc6b
commit 6270d119c2
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -7026,7 +7026,7 @@ class Table(dict):
def insert(self, **fields):
if any(f(fields) for f in self._before_insert): return 0
ret = self._db._adapter.insert(self,self._listify(fields))
ret and [f(fields) for f in self._before_insert]
ret and [f(fields) for f in self._after_insert]
return ret
def validate_and_insert(self,**fields):