Comment 5 for bug 1341954

Revision history for this message
Grant Murphy (gmurphy) wrote :

Attaching proposed fix for oslo.vmware. This is probably not the cleanest solution. It uses mkdtemp to create a secure temporary directory to store cached objects. This directory will be cleaned up when object is out of scope. It may be a better to use a contextmanager for this however I was unsure of the typical usage. Another alternative would be to register a cleanup function via atexit.

How do you guys think we should patch this?