Closed Julien-Elie closed 10 months ago
It was already done in commit f99cc6a. Default sample code works with both Python 2 and Python 3. Differences between the two versions were in comments.
Let's just improve the commented code to properly write a string to log instead of a byte string prefixed with b'
.
Samples of filtering and authentication Python hooks currently have Python 3.x syntax commented, and Python 2.x syntax active by default. Now is time to do the opposite, and activate Python 3.x syntax by default.