qemu-e2k/scripts/tracetool
Stefan Hajnoczi 403e11edbf trace: avoid "is" with a literal Python 3.8 warnings
The following statement produces a SyntaxWarning with Python 3.8:

  if len(format) is 0:
  scripts/tracetool/__init__.py:459: SyntaxWarning: "is" with a literal. Did you mean "=="?

Use the conventional len(x) == 0 syntax instead.

Reported-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191010122154.10553-1-stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2019-10-15 09:47:16 +01:00
..
backend tracetool: Include thread id information in log backend 2018-12-12 10:04:59 +00:00
format trace: Do not include qom/cpu.h into generated trace.h 2019-08-16 13:31:52 +02:00
__init__.py trace: avoid "is" with a literal Python 3.8 warnings 2019-10-15 09:47:16 +01:00
transform.py trace: Add 'vcpu' event property to trace guest vCPU 2016-03-01 13:27:10 +00:00
vcpu.py trace: Add 'vcpu' event property to trace guest vCPU 2016-03-01 13:27:10 +00:00