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

Python fixes #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Python fixes #64

wants to merge 2 commits into from

Conversation

cedeyn
Copy link
Collaborator

@cedeyn cedeyn commented Jul 3, 2024

Hello,

This pull request is needed to avoid error messages when launching milkcheck on newer python distribution:

Traceback (most recent call last):
  File "/home/mat/.local/lib/python3.12/site-packages/MilkCheck-1.2.4-py3.12.egg/MilkCheck/UI/Cli.py", line 506, in execute
    self._conf = ConfigParser(self._options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mat/.local/lib/python3.12/site-packages/MilkCheck-1.2.4-py3.12.egg/MilkCheck/config.py", line 75, in __init__
    data = yaml.load(open(self.CONFIG_PATH))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: load() missing 1 required positional argument: 'Loader'

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.

1 participant