From 2552bc06019a2a4cb76a7b9f32994948e7f4d2fa Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Mon, 24 Dec 2012 21:47:24 +0200 Subject: fix typo (#16720) --- Lib/os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12