diff options
author | Greg Kurz <groug@kaod.org> | 2018-01-18 18:11:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-05 13:54:39 +0100 |
commit | b90d80a73e2f546117a776e899f826e2a9eb8301 (patch) | |
tree | d9637edd1b39e80debe6a1f7721c61379249c731 /scripts/qemugdb | |
parent | 4183e2ea6d092ea9d7f18af085cb1076fae08512 (diff) |
scripts/qemu-gdb/timers.py: define encoding in header comment
This is required otherwise python complains because of the
accentuated letter in Alex's last name:
Traceback (most recent call last):
File "scripts/qemu-gdb.py", line 29, in <module>
from qemugdb import aio, mtree, coroutine, tcg, timers
File "scripts/qemugdb/timers.py", line 1
SyntaxError: Non-ASCII character '\xc3' in file scripts/qemugdb/timers.py
on line 1, but no encoding declared;
see http://www.python.org/peps/pep-0263.html for details
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <151629549711.18276.15497684562308683805.stgit@bahia.lan>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qemugdb')
-rw-r--r-- | scripts/qemugdb/timers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qemugdb/timers.py b/scripts/qemugdb/timers.py index be71a001e3..51ea04b5e2 100644 --- a/scripts/qemugdb/timers.py +++ b/scripts/qemugdb/timers.py @@ -1,4 +1,5 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- # GDB debugging support # # Copyright 2017 Linaro Ltd |