indent error in expression

This commit is contained in:
Lafrite 2014-12-22 14:17:12 +01:00
parent 16c0b5b8fc
commit 7498127e48
1 changed files with 8 additions and 8 deletions

View File

@ -121,15 +121,15 @@ class Expression(object):
old_s = new_s
yield new_s
try:
for s in self.child.simplify():
if old_s != s:
yield s
if not Expression.isExpression(self.child):
yield self.STR_RENDER([self.child])
try:
for s in self.child.simplify():
if old_s != s:
yield s
if not Expression.isExpression(self.child):
yield self.STR_RENDER([self.child])
except AttributeError:
yield self.STR_RENDER([self.child])
except AttributeError:
yield self.STR_RENDER([self.child])
def simplified(self):
""" Get the simplified version of the expression """