diff options
author | Guido van Rossum <guido@python.org> | 1994-05-27 14:13:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-05-27 14:13:46 (GMT) |
commit | 3962fdb25a621ea4366a5db4b1ab0c94efdf096d (patch) | |
tree | 34267cae2741d922272f334ab33c2a39a2b8f957 | |
parent | e6b7979d1787beb1346cb7885244dea4b57c3f9c (diff) | |
download | cpython-3962fdb25a621ea4366a5db4b1ab0c94efdf096d.zip cpython-3962fdb25a621ea4366a5db4b1ab0c94efdf096d.tar.gz cpython-3962fdb25a621ea4366a5db4b1ab0c94efdf096d.tar.bz2 |
correct typos in option parsing loop
-rwxr-xr-x | Tools/scripts/pindent.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ def test(): 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 |