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

Cache /etc/debian_version content #349

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Conversation

HorlogeSkynet
Copy link
Member

This patch is a follow-up for 6d44662 (#333), introducing caching of /etc/debian_version file content, to prevent opening and reading operations for each distro.version() call.


@python-distro/maintainers : we can release a new version once this PR is merged 🙂

This patch is a follow-up for 6d44662, introducing caching of `/etc/debian_version` file content, to prevent opening and reading operations for each `distro.version()` call.
@HorlogeSkynet HorlogeSkynet merged commit 8be3ae6 into master Oct 10, 2022
@HorlogeSkynet HorlogeSkynet deleted the cache_etc-debian-version branch October 10, 2022 14:42
@hartwork hartwork added this to the 1.8.0 milestone Oct 10, 2022
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.

2 participants