genxml: mark gen_pack_header.py as encoded in utf-8
authorDylan Baker <dylan@pnwbakers.com>
Tue, 31 May 2016 18:29:50 +0000 (11:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 31 May 2016 22:09:06 +0000 (15:09 -0700)
There is unicode in this file, and I'm actually surprised that the
python interpreter hasn't gotten grumpy.

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 47870b30cea065e7aaa104c1af7fd30da02f250c..2920ec97c23783b38ae9057c5205ec6eab817e75 100644 (file)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+#encoding=utf-8
 
 import xml.parsers.expat
 import re