summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/genxml/gen_bits_header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/genxml/gen_bits_header.py b/src/intel/genxml/gen_bits_header.py
index e31e9ff1035..dcd6ccb7d9e 100644
--- a/src/intel/genxml/gen_bits_header.py
+++ b/src/intel/genxml/gen_bits_header.py
@@ -282,7 +282,7 @@ class XmlParser(object):
self.container = None
def parse(self, filename):
- with open(filename) as f:
+ with open(filename, 'rb') as f:
self.parser.ParseFile(f)
def start_element(self, name, attrs):