fixed AttributeError: 'Expression' object has no attribute '_table' issue

This commit is contained in:
mdipierro committed 2012-08-30 14:42:32 -05:00
1 parent 1444c5b476
commit 9f763c677c
3 files changed
+7 -4

No files matched your search

+1
View File
@@ -7935,6 +7935,7 @@ class Expression(object):
self.op = op
self.first = first
self.second = second
self._table = getattr(first,'_table',None)
### self._tablename = first._tablename ## CHECK
if not type and first and hasattr(first,'type'):
self.type = first.type