summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-05-31 11:36:26 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-05-31 14:45:27 -0700
commitffe96a071f4a6d479bf899e4258eb269fab92ede (patch)
tree0e45a1c32826dacccebe661e310f18280a2f127d
parente27f8e6a0a497d2229ecf3ca0d4187f7db5994a1 (diff)
genxml: require future imports for python2 compatibility.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> cc: 12.0 <mesa-stable@lists.freedesktop.org>
-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 8cdb3e3d91..876d609720 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