indent error in expression

This commit is contained in:
Lafrite 2014-12-22 14:17:12 +01:00
parent 16c0b5b8fc
commit 7498127e48

View File

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