From 3962fdb25a621ea4366a5db4b1ab0c94efdf096d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 May 1994 14:13:46 +0000 Subject: correct typos in option parsing loop --- Tools/scripts/pindent.py | 4 ++-- 1 file 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 -- cgit v0.12