ros/genpy — pull request #6 by stonier (2012-07-13 08:26:10+00:00)
Title: Don't delete the temporary file before importing it

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).