[Mesa-dev] [PATCH 4/7] genxml: require future imports for python2 compatibility.
Dylan Baker
dylan at pnwbakers.com
Tue May 31 21:30:27 UTC 2016
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
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 a0037cea..98e5676 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.8.3
More information about the mesa-dev
mailing list