summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)