CCI-MOC / openstack-billing-from-db

Simple billing from the database
Apache License 2.0
1 stars 3 forks source link

Use `tempfile` module for temporary files #38

Open knikolla opened 5 months ago

knikolla commented 5 months ago

I would like to see all of these items being downloaded into /tmp converted to use tempfile.TemporaryFile (or tempfile.NamedTemporaryFile, if necessary) so that they are automatically cleaned up, but I think that may be for a future PR (because it will require some minor re-architecting of the code).

_Originally posted by @larsks in https://github.com/CCI-MOC/openstack-billing-from-db/pull/37#discussion_r1480430075_