Mesa (master): tools/trace: Fix syntax.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon Jun 24 14:29:52 UTC 2013


Module: Mesa
Branch: master
Commit: a3d75db02224aa82fe8a42680c2e37d9a69699f1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3d75db02224aa82fe8a42680c2e37d9a69699f1

Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 24 14:45:49 2013 +0100

tools/trace: Fix syntax.

Cleaned/commented up the code, but forgot to actually test before
commiting...

---

 src/gallium/tools/trace/dump_state.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/tools/trace/dump_state.py b/src/gallium/tools/trace/dump_state.py
index 60309a3..f7ac769 100755
--- a/src/gallium/tools/trace/dump_state.py
+++ b/src/gallium/tools/trace/dump_state.py
@@ -62,7 +62,7 @@ def serialize(obj):
             if crc32 < 0:
                 crc32 += 0x100000000
             return 'blob(size=%u,crc32=0x%08x)' % (len(obj), crc32)
-        if True
+        if True:
             # Dump blobs as an array of 16byte hexadecimals
             res = []
             for i in range(0, len(obj), 16):




More information about the mesa-commit mailing list