tools/trace: Fix syntax.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 24 Jun 2013 13:45:49 +0000 (14:45 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 24 Jun 2013 14:28:48 +0000 (15:28 +0100)
Cleaned/commented up the code, but forgot to actually test before
commiting...

src/gallium/tools/trace/dump_state.py

index 60309a392d42af6385859ea3cce86dd35a8a542c..f7ac76935e5fdc57a3fb7b5ba73729bc65c31b2b 100755 (executable)
@@ -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):