diff --git a/VERSION b/VERSION index 4f0d04a4..46cdf1f3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-02-03 11:29:23) stable +Version 1.99.4 (2012-02-03 11:31:35) stable diff --git a/gluon/dal.py b/gluon/dal.py index cfe46e01..6af3be1e 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6552,8 +6552,8 @@ class Table(dict): elif str(key).isdigit(): if key == 0: self.insert(**self._filter_fields(value)) - elif not self._db(self._id == key)\ - .update(**self._filter_fields(value)): + elif self._db(self._id == key)\ + .update(**self._filter_fields(value)) is None: raise SyntaxError, 'No such record: %s' % key else: if isinstance(key, dict):