Skip to content

Commit

Permalink
Merge pull request #344 from hroncok/patch-1
Browse files Browse the repository at this point in the history
Replace removed SafeConfigParser with ConfigParser
  • Loading branch information
mtreinish authored Sep 7, 2023
2 parents ea4d73d + e8c35b1 commit 0f9a6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stestr/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def run_command(
if not os.path.isfile(config) and not test_path:
# If there is no config and no test-path
if os.path.isfile("tox.ini"):
tox_conf = configparser.SafeConfigParser()
tox_conf = configparser.ConfigParser()
tox_conf.read("tox.ini")
if not tox_conf.has_section("stestr"):
msg = (
Expand Down

0 comments on commit 0f9a6de

Please sign in to comment.