Gabe Black has submitted this change and it was merged. ( https://gem5-review.googlesource.com/5002 )

Change subject: misc: Small style fix in _EncodeVarint32.
......................................................................

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 <[email protected]>
Maintainer: Andreas Sandberg <[email protected]>
---
M util/protolib.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Andreas Sandberg: Looks good to me, approved; Looks good to me, approved



diff --git a/util/protolib.py b/util/protolib.py
index 4f3f2c7..1e442f1 100644
--- a/util/protolib.py
+++ b/util/protolib.py
@@ -152,7 +152,7 @@
   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))

--
To view, visit https://gem5-review.googlesource.com/5002
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5cb82b98e7d2769605cde141f76a62a6e3c6570d
Gerrit-Change-Number: 5002
Gerrit-PatchSet: 3
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Hansson <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to