diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-02-09 19:21:31 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-02-09 19:21:34 +0100 |
commit | d48f9e8ebbb71cfeba743b39f18db824556d5a2d (patch) | |
tree | c6c4ab327a8dd25ea458ba94631cf2806541630d | |
parent | b847f49717d1505694727dc800af661737fa6cc6 (diff) | |
parent | c9095b738fd4257ae5bdbb2ae38d3e7f41f51b64 (diff) |
Merge #21124: test: remove unnecessary assignment in bdb
c9095b738fd4257ae5bdbb2ae38d3e7f41f51b64 test: remove unnecessary assignment in bdb (Bruno Garcia)
Pull request description:
This PR removes the unnecessary assignment to page_info['entries'] on line 54 since there is another assignment for it in line 59.
I think a lint (#21096) would detect cases like this one.
ACKs for top commit:
achow101:
ACK c9095b738fd4257ae5bdbb2ae38d3e7f41f51b64
theStack:
Code Review ACK c9095b738fd4257ae5bdbb2ae38d3e7f41f51b64
Tree-SHA512: 23377077c015b04361fd416b41bf6806ad0bdd4d264be6760f0fd3bc88d694d2cd52cae250519925c5d3b3c70715772714c3863f8fa181a2eb4883204ccdbf9d
-rw-r--r-- | test/functional/test_framework/bdb.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/test_framework/bdb.py b/test/functional/test_framework/bdb.py index 9de358aa0a..97b9c1d6d0 100644 --- a/test/functional/test_framework/bdb.py +++ b/test/functional/test_framework/bdb.py @@ -51,7 +51,6 @@ def dump_leaf_page(data): page_info['pgno'] = pgno page_info['prev_pgno'] = prev_pgno page_info['next_pgno'] = next_pgno - page_info['entries'] = entries page_info['hf_offset'] = hf_offset page_info['level'] = level page_info['pg_type'] = pg_type |