summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-05-27 14:13:46 (GMT)
committerGuido van Rossum <guido@python.org>1994-05-27 14:13:46 (GMT)
commit3962fdb25a621ea4366a5db4b1ab0c94efdf096d (patch)
tree34267cae2741d922272f334ab33c2a39a2b8f957 /Tools
parente6b7979d1787beb1346cb7885244dea4b57c3f9c (diff)
downloadcpython-3962fdb25a621ea4366a5db4b1ab0c94efdf096d.zip
cpython-3962fdb25a621ea4366a5db4b1ab0c94efdf096d.tar.gz
cpython-3962fdb25a621ea4366a5db4b1ab0c94efdf096d.tar.bz2
correct typos in option parsing loop
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/pindent.py4
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