Indentation fix

This commit is contained in:
Michael DeHaan 2013-05-11 17:23:45 -04:00
parent 3d3a050648
commit 0a1657080b

View file

@ -646,9 +646,9 @@ def compile_when_to_only_if(expression):
#tcopy[i] = "%s('''%s''')" % (cast, t) #tcopy[i] = "%s('''%s''')" % (cast, t)
t2 = t.strip() t2 = t.strip()
if (t2[0].isalpha() or t2[0] == '$') and cast == 'str' and t2 != 'in': if (t2[0].isalpha() or t2[0] == '$') and cast == 'str' and t2 != 'in':
tcopy[i] = "'%s'" % (t) tcopy[i] = "'%s'" % (t)
else: else:
tcopy[i] = t tcopy[i] = t
result = " ".join(tcopy) result = " ".join(tcopy)
return result return result