def rmtree(directory, ignore_errors=False):
    shutil.rmtree(directory, ignore_errors=ignore_errors, onerror=handle_remove_readonly)
def rmtree(directory, ignore_errors=False):
    shutil.rmtree(directory, ignore_errors=ignore_errors, onerror=handle_remove_readonly)