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
Branch
check_doc_python3
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4505
Build 7073: Bitcoin ABC Buildbot (legacy)
Build 7072: arc lint + arc unit

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.