[Mesa-dev] [PATCH 1/7] genxml: mark gen_pack_header.py as encoded in utf-8

Dylan Baker dylan at pnwbakers.com
Tue May 31 21:30:24 UTC 2016


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 at intel.com>
---
 src/intel/genxml/gen_pack_header.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py
index 47870b3..2920ec9 100644
--- a/src/intel/genxml/gen_pack_header.py
+++ b/src/intel/genxml/gen_pack_header.py
@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+#encoding=utf-8
 
 import xml.parsers.expat
 import re
-- 
2.8.3



More information about the mesa-dev mailing list