misc: Small style fix in _EncodeVarint32.
Added spaces around the '|' operator. Change-Id: I5cb82b98e7d2769605cde141f76a62a6e3c6570d Reviewed-on: https://gem5-review.googlesource.com/5002 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -152,7 +152,7 @@ def _EncodeVarint32(out_file, value):
|
||||
bits = value & 0x7f
|
||||
value >>= 7
|
||||
while value:
|
||||
out_file.write(struct.pack('<B', 0x80|bits))
|
||||
out_file.write(struct.pack('<B', 0x80 | bits))
|
||||
bits = value & 0x7f
|
||||
value >>= 7
|
||||
out_file.write(struct.pack('<B', bits))
|
||||
|
||||
Reference in New Issue
Block a user