Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Conversation

stonier
Copy link
Contributor

@stonier stonier commented Jul 13, 2012

I've no idea how this actually worked on *nix. NamedTemporaryFile() has an argument variable 'delete' with default value of 'True'. This implies it should delete immediately as soon as the file is closed.

It didn't on linux, but did on windows and the subsequent import failed.

This just ensures we don't delete it. It will naturally disappear when the directory is deleted at exit (from the line above).

@dirk-thomas dirk-thomas reopened this Jul 13, 2012
dirk-thomas added a commit that referenced this pull request Jul 13, 2012
Don't delete the temporary file before importing it
@dirk-thomas dirk-thomas merged commit ffeaf86 into ros:master Jul 13, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants