Skip to content

enterprise/federation: Use Python script for checks - #3230

Open
btriller wants to merge 1 commit into
cfengine:masterfrom
btriller:federation-shells
Open

btriller wants to merge 1 commit into
cfengine:masterfrom
btriller:federation-shells

Conversation

@btriller

Copy link
Copy Markdown
Contributor

Get rid of shells and other commands and use Python itself for version check and installed module.
Get major version via tuple for compatibility with very ancient Python versions (sys.version_info.major etc introduced in 2.7) [1].

[1] https://docs.python.org/2/library/sys.html#sys.version_info

Get rid of shells and other commands and use Python itself for version
check and installed module.
Get major version via tuple for compatibility with very ancient Python
versions (sys.version_info.major etc introduced in 2.7) [1].

[1] https://docs.python.org/2/library/sys.html#sys.version_info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant