From a45a25418bd6310122d52f12a4640e8493246439 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 31 May 2016 11:36:26 -0700 Subject: [PATCH] genxml: require future imports for python2 compatibility. Signed-off-by: Dylan Baker Reviewed-by: Jason Ekstrand cc: 12.0 --- src/intel/genxml/gen_pack_header.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2