diff options
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -275,7 +275,7 @@ def removedirs(name): while head and tail: try: rmdir(head) - except OSrror: + except OSError: break head, tail = path.split(head) |