Menu

Commit [6d6f68] default  Maximize  Restore  History

fix: python < 3.12 returns ParsingError not RuntimeError; print exception

RuntimeError added in 3.12. Support older configparser.ParsingError.

Supporting older version also requires different test string for the
two versions.

Also use str(exception) rather than exception.args[0] for producing
message to user. Include exception name in output.

John Rouillard John Rouillard 2025-09-22

changed roundup/configuration.py
changed test/test_config.py
roundup/configuration.py Diff Switch to side-by-side view
Loading...
test/test_config.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.