Show More
@@ -286,7 +286,7 b' def _removedirs(name):' | |||||
286 |
|
286 | |||
287 | def unlinkpath(f): |
|
287 | def unlinkpath(f): | |
288 | """unlink and remove the directory if it is empty""" |
|
288 | """unlink and remove the directory if it is empty""" | |
289 |
|
|
289 | unlink(f) | |
290 | # try removing directories that might now be empty |
|
290 | # try removing directories that might now be empty | |
291 | try: |
|
291 | try: | |
292 | _removedirs(os.path.dirname(f)) |
|
292 | _removedirs(os.path.dirname(f)) |
General Comments 0
You need to be logged in to leave comments.
Login now