bpo-42014: shutil.rmtree: call onerror with correct function (GH-22585)



The onerror is supposed to be called with failed function, but in this case lstat is wrongly used instead of open.

Not sure if this needs bug or not...

Automerge-Triggered-By: GH:hynek
2 files changed