Skip to content

Remove reference to platform.distplat - fix for python >= 3.7#70

Open
oaubert wants to merge 1 commit intoSpredzy:masterfrom
oaubert:platform
Open

Remove reference to platform.distplat - fix for python >= 3.7#70
oaubert wants to merge 1 commit intoSpredzy:masterfrom
oaubert:platform

Conversation

@oaubert
Copy link
Contributor

@oaubert oaubert commented Mar 16, 2022

No description provided.

platform.dist has been deprecated since python3.5 and removed in python3.8:
https://docs.python.org/3.7/library/platform.html#platform.dist
Just use a test on the presence of  /sbin/semanage to use this feature.
@stokito
Copy link

stokito commented Mar 29, 2023

Just found your PR. I fixed it in scope of #72 but your version is simpler and I like it more

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments