summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2016-05-31 11:36:26 -0700
committerJason Ekstrand <[email protected]>2016-05-31 15:09:06 -0700
commita45a25418bd6310122d52f12a4640e8493246439 (patch)
treea73f2de10e373f88ab76fe5f41a0d69aa32ab32d /src/intel
parente5681e4d7056dbe561127dedf76fb2cd9d16fc00 (diff)
genxml: require future imports for python2 compatibility.
Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> cc: 12.0 <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/genxml/gen_pack_header.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py
index 8cdb3e3d91d..876d6097206 100644
--- a/src/intel/genxml/gen_pack_header.py
+++ b/src/intel/genxml/gen_pack_header.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python3
#encoding=utf-8
+from __future__ import (
+ absolute_import, division, print_function, unicode_literals
+)
import xml.parsers.expat
import re
import sys