Page MenuHomePhabricator

Fix exit in generate_header.py and some formatting nits
ClosedPublic

Authored by Fabien on Jun 26 2019, 07:07.

Details

Summary

Possible exit solutions are sys.exit() or os._exit(), but
os.exit() doesn't exist. Using sys.exit() incidentally removes the
dependency to os.
Also fix some spaces in the generated code so it matches our
clang-format rules, as it is trivial and saves as much as 3 bytes.

Test Plan
ninja check

Diff Detail

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