Print compiled expressions for multiline queries

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2015-06-01 07:34:21 +02:00
parent acdd4629a6
commit d60b5f7983

View File

@ -114,6 +114,7 @@ class relForm(QtWidgets.QMainWindow):
try: try:
expr = parser.parse(query) expr = parser.parse(query)
print ('%s <- %s' % (relname, expr))
result = eval(expr, self.relations) result = eval(expr, self.relations)
self.relations[relname] = result self.relations[relname] = result
except Exception as e: except Exception as e: