Fixes #392031 - Ensure that codestyle.py always return something on stdout to unlock m_mutex.
ClosedPublic

Authored by fviard on Mar 19 2018, 12:03 AM.

Details

Summary

Ensure that codestyle.py always return something on stdout to unlock m_mutex.
By returning only a "0" size on stdout, pythonstylechecking.cpp will see a "reply" and unlock the m_mutex.

See: https://bugs.kde.org/show_bug.cgi?id=392031

Diff Detail

Repository
R53 KDevelop: Python Support
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fviard created this revision.Mar 19 2018, 12:03 AM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptMar 19 2018, 12:03 AM
fviard requested review of this revision.Mar 19 2018, 12:03 AM
brauch accepted this revision.Mar 19 2018, 9:30 PM
brauch added a subscriber: brauch.

Uh, good find. Thanks for the patch. I should somehow have used a mutex locker for that ...

Do you have commit access or should I submit this for you?

This revision is now accepted and ready to land.Mar 19 2018, 9:30 PM

Uh, good find. Thanks for the patch. I should somehow have used a mutex locker for that ...

Do you have commit access or should I submit this for you?

I'm new here, so no commit access. You will have to submit it for me.

Thank you

This revision was automatically updated to reflect the committed changes.