Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3962fdb

Browse files
committed
correct typos in option parsing loop
1 parent e6b7979 commit 3962fdb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/scripts/pindent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,9 @@ def test():
284284
action = PythonIndenter.complete
285285
elif o == '-r':
286286
action = PythonIndenter.reformat
287-
elif p == '-s':
287+
elif o == '-s':
288288
stepsize = string.atoi(a)
289-
elif p == '-t':
289+
elif o == '-t':
290290
tabsize = string.atoi(a)
291291
# end if
292292
# end for

0 commit comments

Comments
 (0)