gdbus-codegen: Set source coding to utf-8

Some of the recent changes introduced UTF-8 characters which made
gdbus-codegen to crash when using Python 2.

Following PEP 263, the utf-8 coding comment has been used.

PEP: https://www.python.org/dev/peps/pep-0263/
BUG: https://bugzilla.gnome.org/show_bug.cgi?id=791015

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
This commit is contained in:
Iñigo Martínez 2018-01-15 16:58:10 +01:00
parent 88101e5981
commit 261cb8ea86
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# coding=utf-8
# GDBus - GLib D-Bus Library
#

View File

@ -1,4 +1,5 @@
# -*- Mode: Python -*-
# coding=utf-8
# GDBus - GLib D-Bus Library
#