summaryrefslogtreecommitdiff
path: root/src/gallium/tools/trace/parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tools/trace/parse.py')
-rwxr-xr-xsrc/gallium/tools/trace/parse.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/tools/trace/parse.py b/src/gallium/tools/trace/parse.py
index 07f2d6c7659..d8dce2628ab 100755
--- a/src/gallium/tools/trace/parse.py
+++ b/src/gallium/tools/trace/parse.py
@@ -29,7 +29,6 @@
import sys
import xml.parsers.expat
-import binascii
import optparse
from model import *
@@ -305,9 +304,9 @@ class TraceParser(XmlParser):
def parse_bytes(self):
self.element_start('bytes')
- value = binascii.a2b_hex(self.character_data())
+ value = self.character_data()
self.element_end('bytes')
- return Literal(value)
+ return Blob(value)
def parse_array(self):
self.element_start('array')