Fix minor variable name mismatch

This commit is contained in:
Cayman 2019-01-06 13:05:27 -06:00
parent 88de4e35f2
commit cebbe7b7c5
No known key found for this signature in database
GPG Key ID: 54B21AEC3C53E1F5
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ values = {}
for field_name in get_field_names(typ):
field_name_type = get_type_for_field_name(typ, field_name)
values[field_name], item_index = deserialize(data, item_index, field_name_type)
assert item_index == start + LENGTH_BYTES + length
assert item_index == new_index
return typ(**values), item_index
```