]> Git Repo - qemu.git/commitdiff
scripts/qemu-gdb/timers.py: define encoding in header comment
authorGreg Kurz <[email protected]>
Thu, 18 Jan 2018 17:11:37 +0000 (18:11 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 5 Feb 2018 12:54:39 +0000 (13:54 +0100)
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 <[email protected]>
Message-Id: <151629549711.18276.15497684562308683805[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
scripts/qemugdb/timers.py

index be71a001e333362cf2b0648071c4082a2bafee17..51ea04b5e2ec1415074553267df7024cc94167aa 100644 (file)
@@ -1,4 +1,5 @@
 #!/usr/bin/python
+# -*- coding: utf-8 -*-
 # GDB debugging support
 #
 # Copyright 2017 Linaro Ltd
This page took 0.027941 seconds and 4 git commands to generate.