From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eimS9-0004LM-81 for qemu-devel@nongnu.org; Mon, 05 Feb 2018 14:29:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eimS7-0004vE-To for qemu-devel@nongnu.org; Mon, 05 Feb 2018 14:29:21 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:38687) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eimS7-0004ur-LV for qemu-devel@nongnu.org; Mon, 05 Feb 2018 14:29:19 -0500 Received: by mail-wm0-x241.google.com with SMTP id 141so27957692wme.3 for ; Mon, 05 Feb 2018 11:29:19 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 5 Feb 2018 20:28:25 +0100 Message-Id: <1517858941-5538-12-git-send-email-pbonzini@redhat.com> In-Reply-To: <1517858941-5538-1-git-send-email-pbonzini@redhat.com> References: <1517858941-5538-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 11/47] scripts/qemu-gdb/timers.py: define encoding in header comment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Greg Kurz From: Greg Kurz 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 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 Message-Id: <151629549711.18276.15497684562308683805.stgit@bahia.lan> Signed-off-by: Paolo Bonzini --- scripts/qemugdb/timers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/qemugdb/timers.py b/scripts/qemugdb/timers.py index be71a00..51ea04b 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 -- 1.8.3.1