diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-05-31 11:36:26 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-05-31 15:09:06 -0700 |
commit | a45a25418bd6310122d52f12a4640e8493246439 (patch) | |
tree | a73f2de10e373f88ab76fe5f41a0d69aa32ab32d /src/intel | |
parent | e5681e4d7056dbe561127dedf76fb2cd9d16fc00 (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>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/genxml/gen_pack_header.py | 3 |
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 |