genxml: require future imports for python2 compatibility.
authorDylan Baker <dylan@pnwbakers.com>
Tue, 31 May 2016 18:36:26 +0000 (11:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 31 May 2016 22:09:06 +0000 (15:09 -0700)
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>

src/intel/genxml/gen_pack_header.py

index 8cdb3e3d91d6194d0129234315163dc828c0d4d3..876d6097206c614d4ecf588c8621a0713e3cbe19 100644 (file)
@@ -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