Page MenuHomePhabricator

rpcuser.py: Use 'python' not 'python2'
ClosedPublic

Authored by Fabien on Jul 5 2019, 07:45.

Details

Summary
Note that rpcuser.py seems to handle either version when called
explicitly like python2 rpcuser.py / python3 rpcuser.py. This change
allows the user's python to be used to interpret the script.

Backport of core PR11830
https://github.com/bitcoin/bitcoin/pull/11830/files

Test Plan
python2 share/rpcuser/rpcuser.py foo
python3 share/rpcuser/rpcuser.py foo

Should return the rpcauth string without error

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.Jul 5 2019, 13:49
This revision was automatically updated to reflect the committed changes.