]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typo (#16720)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 24 Dec 2012 19:47:24 +0000 (21:47 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 24 Dec 2012 19:47:24 +0000 (21:47 +0200)
Lib/os.py

index 0557f1442a2c09f286a811b675fd42087d2ac0fc..dbebf8959b024d8bd6a4587372a738ab11611e6c 100644 (file)
--- 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)