From: Dylan Baker Date: Tue, 31 May 2016 18:36:26 +0000 (-0700) Subject: genxml: require future imports for python2 compatibility. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a45a25418bd6310122d52f12a4640e8493246439;p=mesa.git genxml: require future imports for python2 compatibility. Signed-off-by: Dylan Baker Reviewed-by: Jason Ekstrand cc: 12.0 --- 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