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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Jul 5 2019, 07:45
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 5 2019, 07:45
deadalnix accepted this revision.Jul 5 2019, 13:49
This revision is now accepted and ready to land.Jul 5 2019, 13:49
Fabien edited the summary of this revision. (Show Details)Jul 5 2019, 14:41
This revision was automatically updated to reflect the committed changes.