Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb90f99
)
Fix Python bug in v1 verify worklist generation
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 03:24:16 +0000
(22:24 -0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 03:24:16 +0000
(22:24 -0500)
disk_jumble/src/disk_jumble/verify.py
patch
|
blob
|
history
diff --git
a/disk_jumble/src/disk_jumble/verify.py
b/disk_jumble/src/disk_jumble/verify.py
index 063eef5d27b6886642dca178a707996abeef673a..6b314fde013debea12baae4d4995a0ecc83b414c 100644
(file)
--- a/
disk_jumble/src/disk_jumble/verify.py
+++ b/
disk_jumble/src/disk_jumble/verify.py
@@
-157,7
+157,7
@@
def _get_v1_worklist(conn, disk_id: int, block_ranges: List[NumericRange]) -> Li
raise NotImplementedError("verify of encrypted data")
for (piece_num, piece_rows) in itertools.groupby(rows, lambda t: t[0]):
- block_ranges = [range(r.lower, r.upper) for (r, _) in piece_rows]
+ block_ranges = [range(r.lower, r.upper) for (
_,
r, _) in piece_rows]
run = _V1Run(
entity_id = info.id,
entity_length = info.length,