[Python-checkins] cpython: fix typo (#16720)

andrew.svetlov python-checkins at python.org
Mon Dec 24 20:47:34 CET 2012


http://hg.python.org/cpython/rev/e2e5181b10f8
changeset:   81023:e2e5181b10f8
parent:      81021:8f30461395b1
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Mon Dec 24 21:47:24 2012 +0200
summary:
  fix typo (#16720)

files:
  Lib/os.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/os.py b/Lib/os.py
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -275,7 +275,7 @@
     while head and tail:
         try:
             rmdir(head)
-        except OSrror:
+        except OSError:
             break
         head, tail = path.split(head)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list