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: