commit | 3962fdb25a621ea4366a5db4b1ab0c94efdf096d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri May 27 14:13:46 1994 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri May 27 14:13:46 1994 +0000 |
tree | 34267cae2741d922272f334ab33c2a39a2b8f957 | |
parent | e6b7979d1787beb1346cb7885244dea4b57c3f9c [diff] [blame] |
correct typos in option parsing loop
diff --git a/Tools/scripts/pindent.py b/Tools/scripts/pindent.py index dfc3024..c9900ab 100755 --- a/Tools/scripts/pindent.py +++ b/Tools/scripts/pindent.py
@@ -284,9 +284,9 @@ action = PythonIndenter.complete elif o == '-r': action = PythonIndenter.reformat - elif p == '-s': + elif o == '-s': stepsize = string.atoi(a) - elif p == '-t': + elif o == '-t': tabsize = string.atoi(a) # end if # end for