mozilla-services / autograph-canary

An AWS lambda for checking Autograph signing is working correctly
0 stars 1 forks source link

clean up tmp dirs #59

Closed g-k closed 3 years ago

g-k commented 3 years ago

The AWS lambda runtime persists container and the ephemeral /tmp volume.

This PR switches to context managers to clean up after ourselves and fix FileNotFoundError: [Errno 2] No usable temporary directory found in ... errors.