Commits

Anonymous committed 199c0be

simplified codeanalyze.count_line_indents()

Comments (0)

Files changed (1)

rope/base/codeanalyze.py

 
 def count_line_indents(line):
     indents = 0
-    for index, char in enumerate(line):
+    for char in line:
         if char == ' ':
             indents += 1
         elif char == '\t':