Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close files after opening #38

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

simonschmidt
Copy link
Contributor

Avoids warnings like "ResourceWarning: unclosed file ..."

In addition the files are now cached on load, avoiding triplicated
reads of index.json and registry.json on startup.

Avoids warnings like "ResourceWarning: unclosed file ..."

In addition the files are now cached on load, avoiding triplicated
reads of index.json and registry.json on startup.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 99.728% when pulling 222e9fe on simonschmidt:close-opened-files into e35499e on OnroerendErfgoed:master.

@koenedaele
Copy link
Member

Thank you.

@cahytinne Could you have a look at this?

@cahytinne cahytinne merged commit 6eb1e2a into OnroerendErfgoed:master Oct 5, 2018
@cahytinne
Copy link
Contributor

OK, thank you. I will release this in version 0.4.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants