When catching errors from os.rmdir(), test for os.error, not IOError!
1 file changed