HomePhabricator

[lint] Fix variables shadowing python builtins in linearize-data.py

Description

[lint] Fix variables shadowing python builtins in linearize-data.py

Summary: Shadowing builtins can lead to unexpected behavior. Continuing work from D13740

Test Plan:

cp example-linearize.cfg linearize.cfg  # Make changes as necessary
./linearize-hashes.py linearize.cfg > hashlist.txt
./linearize-data.py linearize.cfg

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
sdulfariAuthored on Apr 20 2023, 16:00
sdulfariPushed on Apr 21 2023, 15:30
Reviewer
Restricted Project
Differential Revision
D13748: [lint] Fix variables shadowing python builtins in linearize-data.py
Parents
rABCa60d80ab6a3a: build: remove boost::filesystem and boost::system usages
Branches
Unknown
Tags
Unknown