Show More
@@ -557,7 +557,7 b' def _to_value(item, block_map):' | |||||
557 | def parse_data(data): |
|
557 | def parse_data(data): | |
558 | """parse parse nodemap data into a nodemap Trie""" |
|
558 | """parse parse nodemap data into a nodemap Trie""" | |
559 | if (len(data) % S_BLOCK.size) != 0: |
|
559 | if (len(data) % S_BLOCK.size) != 0: | |
560 | msg = "nodemap data size is not a multiple of block size (%d): %d" |
|
560 | msg = b"nodemap data size is not a multiple of block size (%d): %d" | |
561 | raise error.Abort(msg % (S_BLOCK.size, len(data))) |
|
561 | raise error.Abort(msg % (S_BLOCK.size, len(data))) | |
562 | if not data: |
|
562 | if not data: | |
563 | return Block(), None |
|
563 | return Block(), None |
General Comments 0
You need to be logged in to leave comments.
Login now