Page MenuHomePhabricator

Make check-doc.py compliant to python3
ClosedPublic

Authored by Fabien on Jan 14 2019, 12:21.

Details

Summary

check_output returns bytes but the regex is using a string.
The decode() method will convert from bytes to string.

Depends on D2305

Test Plan
python2 ./test/lint/check-doc.py
python3 ./test/lint/check-doc.py

Check the outputs are the same

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 14 2019, 16:35
This revision was automatically updated to reflect the committed changes.