From 8963f8df94cc8a57418fb7ea5aad4d820f59fb6d Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 4 Jul 2012 22:50:48 -0500 Subject: [PATCH] fixed varquote if no-table and IDENTITY --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e103f1d8..262bcfef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-04 22:50:00) dev +Version 2.00.0 (2012-07-04 22:50:45) dev diff --git a/gluon/dal.py b/gluon/dal.py index 19a5aff3..13e4eba5 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -8152,7 +8152,7 @@ class Field(Expression): return True def __str__(self): - quote = self.db._adapter and self.db._adapter.varquote or IDENTITY + quote = self.db and self.db._adapter.varquote or IDENTITY try: return '%s.%s' % (quote(self.tablename), quote(self.name)) except: