From: Andrew Svetlov Date: Mon, 24 Dec 2012 19:47:24 +0000 (+0200) Subject: fix typo (#16720) X-Git-Tag: v3.4.0a1~1783 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2552bc06019a2a4cb76a7b9f32994948e7f4d2fa;p=thirdparty%2FPython%2Fcpython.git fix typo (#16720) --- diff --git a/Lib/os.py b/Lib/os.py index 0557f1442a2c..dbebf8959b02 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)