values = {}
for name, spec in self.specs.items():
if spec.optional and (
- (lenindef and v[:EOC_LEN].tobytes() == EOC) or
- len(v) == 0
+ (lenindef and v[:EOC_LEN].tobytes() == EOC) or
+ len(v) == 0
):
continue
sub_decode_path = decode_path + (name,)