From 6ffd15adf36ccc092264141e5d609653129dbe29 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 8 Jul 2012 17:39:37 -0500 Subject: [PATCH] fixed issue 701, thanks Marius van Niekerk --- VERSION | 2 +- gluon/dal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 6c759662..53517239 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-08 17:26:39) dev +Version 2.00.0 (2012-07-08 17:39:33) dev diff --git a/gluon/dal.py b/gluon/dal.py index 996ac01b..5d5eb278 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -1281,7 +1281,7 @@ class BaseAdapter(ConnectionPool): for key in set(attributes.keys())-set(('orderby', 'groupby', 'limitby', 'required', 'cache', 'left', 'distinct', 'having', 'join', - 'for_update')): + 'for_update', 'processor')): raise SyntaxError, 'invalid select attribute: %s' % key tablenames = self.tables(query) @@ -4434,7 +4434,7 @@ class CouchDBAdapter(NoSQLAdapter): raise SyntaxError, "Not Supported" for key in set(attributes.keys())-set(('orderby','groupby','limitby', 'required','cache','left', - 'distinct','having')): + 'distinct', 'having', 'processor')): raise SyntaxError, 'invalid select attribute: %s' % key new_fields=[] for item in fields: