python-rope / rope

a python refactoring library
GNU Lesser General Public License v3.0
1.96k stars 164 forks source link

skip directories with perm error when building autoimport index #733

Closed MrBago closed 10 months ago

MrBago commented 11 months ago

Description

WIth this fix, rope will skip folders in sys.path that the user does not have permission to access instead of failing the entire cache build.

Fixes #(issue)

Checklist (delete if not relevant):

MrBago commented 11 months ago

I ran into this minor issue when working on my other PR so here's a quick patch.

tkrabel-db commented 11 months ago

@MrBago thanks for that! LGTM.

MrBago commented 10 months ago

@lieryan Happy new year! When you have a min, can you look the update I made to this PR?

lieryan commented 10 months ago

Thanks for fixing this issue @MrBago

lieryan commented 10 months ago

@all-contributors add @MrBago for code contribution

allcontributors[bot] commented 10 months ago

@lieryan

I've put up a pull request to add @MrBago! :tada: