Kaydet (Commit) d91b0d6a authored tarafından Steven M. Gava's avatar Steven M. Gava

fix for python2.2 -Qnew division error,

thanks Tim!
üst 4509168d
......@@ -462,7 +462,7 @@ def classifyws(s, tabwidth):
effective = effective + 1
elif ch == '\t':
raw = raw + 1
effective = (effective / tabwidth + 1) * tabwidth
effective = (int(effective / tabwidth) + 1) * tabwidth
else:
break
return raw, effective
......
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