]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
correct typos in option parsing loop
authorGuido van Rossum <guido@python.org>
Fri, 27 May 1994 14:13:46 +0000 (14:13 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 27 May 1994 14:13:46 +0000 (14:13 +0000)
Tools/scripts/pindent.py

index dfc3024caff35fb3c8a7551e47fd741613c89aa8..c9900abe3a7f4e0830be10d391635adade4efd05 100755 (executable)
@@ -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