summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-06-24 14:45:49 +0100
committerJosé Fonseca <[email protected]>2013-06-24 15:28:48 +0100
commita3d75db02224aa82fe8a42680c2e37d9a69699f1 (patch)
tree19acc2030edf46829a8267a83cdb476902bd4743
parent5a0556f061d9db00dd7637433d393beead3b3d85 (diff)
tools/trace: Fix syntax.
Cleaned/commented up the code, but forgot to actually test before commiting...
-rwxr-xr-xsrc/gallium/tools/trace/dump_state.py2
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 60309a392d4..f7ac76935e5 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):