fixed oracle issue 764, thanks adesantoasman

This commit is contained in:
Massimo Di Pierro
2012-04-21 12:19:48 -05:00
parent 7bdb3895e2
commit e574daa490
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-04-21 12:17:32) dev
Version 1.99.7 (2012-04-21 12:19:41) dev
+2
View File
@@ -7176,6 +7176,8 @@ class Table(dict):
def __str__(self):
if self.get('_ot', None):
if 'Oracle' in str(type(self._db._adapter)): # <<< patch
return '%s %s' % (self._ot, self._tablename) # <<< patch
return '%s AS %s' % (self._ot, self._tablename)
return self._tablename