summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-24 19:47:24 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-24 19:47:24 (GMT)
commit2552bc06019a2a4cb76a7b9f32994948e7f4d2fa (patch)
tree6c50a945eab0f5179e1c6dd04dfad3d53e7e853a
parent1d960fe4c4235907cdd056e09d19aa2c0963b4b5 (diff)
downloadcpython-2552bc06019a2a4cb76a7b9f32994948e7f4d2fa.zip
cpython-2552bc06019a2a4cb76a7b9f32994948e7f4d2fa.tar.gz
cpython-2552bc06019a2a4cb76a7b9f32994948e7f4d2fa.tar.bz2
fix typo (#16720)
-rw-r--r--Lib/os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 0557f14..dbebf89 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -275,7 +275,7 @@ def removedirs(name):
while head and tail:
try:
rmdir(head)
- except OSrror:
+ except OSError:
break
head, tail = path.split(head)