Просмотр исходного кода

lazy extractors: specify the encoding

When building with python3 the unicode characters are not escaped, python2 needs to know the encoding.
Jaime Marquínez Ferrándiz 10 лет назад
Родитель
Сommit
0d778b1db9
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      devscripts/lazy_load_template.py

+ 1 - 0
devscripts/lazy_load_template.py

@@ -1,3 +1,4 @@
+# encoding: utf-8
 # flake8: noqa
 # flake8: noqa
 from __future__ import unicode_literals
 from __future__ import unicode_literals