Skip to content

python3 fixes - #963

Open
kyudin wants to merge 6 commits into
circus-tent:masterfrom
kyudin:watchdog_python3
Open

python3 fixes#963
kyudin wants to merge 6 commits into
circus-tent:masterfrom
kyudin:watchdog_python3

Conversation

@kyudin

@kyudin kyudin commented Feb 18, 2016

Copy link
Copy Markdown

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

@kyudin

kyudin commented Feb 19, 2016

Copy link
Copy Markdown
Author

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

@k4nar

k4nar commented Feb 19, 2016

Copy link
Copy Markdown
Contributor

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

@kyudin

kyudin commented Feb 19, 2016

Copy link
Copy Markdown
Author

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

@k4nar

k4nar commented Feb 19, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

kyudin commented Feb 19, 2016

Copy link
Copy Markdown
Author

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

k4nar commented Jul 6, 2016

Copy link
Copy Markdown
Contributor

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

@cclauss

cclauss commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

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