From de771e81175d1c3e59065bd8e835f9e59507984a Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 4 Jul 2012 22:48:34 -0500 Subject: [PATCH] fixed GAE contains,issue 874, thanks Howesc --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index fd642f59..cedcff9d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-04 22:47:22) dev +Version 2.00.0 (2012-07-04 22:48:31) dev diff --git a/gluon/dal.py b/gluon/dal.py index ca4bdeae..831c7a7d 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -8150,7 +8150,7 @@ class Field(Expression): return True def __str__(self): - quote = self.db._adapter.varquote + quote = self.db._adapter and self.db._adapter.varquote or lambda x:x try: return '%s.%s' % (quote(self.tablename), quote(self.name)) except: