diff --git a/VERSION b/VERSION index 608c9e18..4447b72d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.1 (2012-08-28 19:07:21) rc4 +Version 2.00.1 (2012-08-28 19:11:39) rc4 diff --git a/gluon/dal.py b/gluon/dal.py index e1b89d05..e7885b4c 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6386,6 +6386,9 @@ class Row(object): def __contains__(self,key): return key in self.__dict__ + def __nonzero__(self): + return len(self.__dict__)>0 + def update(self, *args, **kwargs): self.__dict__.update(*args, **kwargs)