HomePhabricator

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

Authored by Henrik Jonsson <me@hkjn.me> on Dec 5 2017, 14:47.

Description

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

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D3553

Details

Committed
FabienJul 5 2019, 14:41
Pushed
FabienJul 5 2019, 14:41
Reviewer
Restricted Project
Differential Revision
D3553: rpcuser.py: Use 'python' not 'python2'
Parents
rABCd9c861ff974b: [build] Warn that only libconsensus can be built without boost
Branches
Unknown
Tags
Unknown