Commit 0a165708 by Michael DeHaan

Indentation fix

parent 3d3a0506
...@@ -646,9 +646,9 @@ def compile_when_to_only_if(expression): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment