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

Updates to configuration check utility for Python 3 #263

Merged
merged 3 commits into from
May 3, 2023

Conversation

connersaeli
Copy link
Contributor

This PR is the same as this PR for SUPReMM v2.0.

These changes improve the capabilities of the configuration check utility in supremmconf.py.

supremmconf.py
1.) Added debug flag
2.) Added flag to specify configuration path
3.) Can now print entire configuration
4.) Better handling for invalid sections or items
5.) Removed UTF-8 encoding for Python 3 version

config.py
1.) Added str method for easier printing

Tested on Rocky 8, Python 3.6.8

connersaeli and others added 2 commits March 29, 2023 19:22
@connersaeli connersaeli added this to the 2.0.0 milestone Mar 29, 2023
@connersaeli connersaeli self-assigned this Mar 29, 2023
src/supremm/supremmconf.py Outdated Show resolved Hide resolved
@connersaeli connersaeli merged commit 7c81feb into ubccr:v2.0 May 3, 2023
@connersaeli connersaeli deleted the conf-check-py3 branch May 3, 2023 13:53
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