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

python3 fixes #963

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

python3 fixes #963

wants to merge 6 commits into from

Conversation

kyudin
Copy link

@kyudin kyudin commented Feb 18, 2016

There are some problems with watchdog plugin under python3 and here is one variant of fixes.

@kyudin
Copy link
Author

kyudin commented Feb 19, 2016

I have no idea why tests, that, as I can see, have no connection to my changes failed now...

@k4nar
Copy link
Contributor

k4nar commented Feb 19, 2016

Our CI is in a very bad shape, sorry about that :( . I don't have much time right now to fix it.

@kyudin
Copy link
Author

kyudin commented Feb 19, 2016

k4nar, thanks for answer. Should I return feature, about not discover watchdog itself in code?

@k4nar
Copy link
Contributor

k4nar commented Feb 19, 2016

Should I return feature, about not discover watchdog itself in code?

Sorry, I'm not sure to understand what you mean.

that cause exception.
Probably this can be done better,
that just decode data"""
result = re.match(self.msg_regex, data.decode())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes perfect sense, I think you can even remove your comment (the method is already named decode_received_udp_message ;) .

@kyudin
Copy link
Author

kyudin commented Feb 19, 2016

k4nar, I mean, that when we run watchdog from config, as plugin, watchdog kills himself, since it doesn't receives hearthbeat messages. I will fix comment and remove comment from decode tomorrow.

@k4nar
Copy link
Contributor

k4nar commented Jul 6, 2016

@kyudin : I've (mostly) fixed our test suite, could you try to rebase your branch with the latest version of master?

@cclauss
Copy link
Contributor

cclauss commented Nov 10, 2022

Are these changes still needed?

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.

3 participants