HomePhabricator

Use for-loop instead of list comprehension

Description

Use for-loop instead of list comprehension

Summary:
To make it clear that we are intentionally using it for its
side-effects.

Backport 1-of-6 for Core PR10781

Test Plan: test_runner.py p2p-compactblocks

Reviewers: deadalnix, schancel, Fabien, #bitcoin_abc

Reviewed By: Fabien

Subscribers: teamcity

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Jul 9 2017, 20:51
jasonbcoxCommitted on Nov 2 2018, 21:58
jasonbcoxPushed on Nov 2 2018, 21:58
Reviewer
Fabien
Differential Revision
D1998: Use for-loop instead of list comprehension
Parents
rABCa38cb6434eae: [tests] fix cross-platform sprintf issue in blockindex_tests
Branches
Unknown
Tags
Unknown

Event Timeline

jasonbcox committed rABCbc19d42d5a07: Use for-loop instead of list comprehension (authored by practicalswift <practicalswift@users.noreply.github.com>).Nov 2 2018, 21:58