diff --git a/VERSION b/VERSION index 5bcc32f5..5a2e7c50 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-05-28 15:54:06) dev +Version 2.00.0 (2012-05-28 16:19:00) dev diff --git a/gluon/dal.py b/gluon/dal.py index 4e9fa214..763cc39b 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -1137,6 +1137,8 @@ class BaseAdapter(ConnectionPool): return str(self.represent(expression,field_type)) elif isinstance(expression,(list,tuple)): return ','.join(self.represent(item,field_type) for item in expression) + elif isinstance(expression, bool): + return '1' if expression else '0' else: return str(expression)