Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwrite pidiff symlink if it already exists #16

Open
rohanpm opened this issue Mar 18, 2019 · 0 comments
Open

Overwrite pidiff symlink if it already exists #16

rohanpm opened this issue Mar 18, 2019 · 0 comments

Comments

@rohanpm
Copy link
Owner

rohanpm commented Mar 18, 2019

If pidiff has already been linked in the .pidiff virtualenvs, but to a different instance of pidiff, a run of the tool will fail with "FileExistsError: [Errno 17] File exists".

This can occur if e.g. a project uses pidiff within tox, but a dev also directly runs pidiff.

It would be better if pidiff overwrites the symlink when it already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant