This commit is contained in:
Andrew Svetlov 2012-12-24 21:47:24 +02:00
parent 1d960fe4c4
commit 2552bc0601

View file

@ -275,7 +275,7 @@ def removedirs(name):
while head and tail:
try:
rmdir(head)
except OSrror:
except OSError:
break
head, tail = path.split(head)