summaryrefslogtreecommitdiffstats
path: root/include/standard-headers/linux/input-event-codes.h
diff options
context:
space:
mode:
authorStefan Hajnoczi2019-10-10 14:21:54 +0200
committerStefan Hajnoczi2019-10-15 10:47:16 +0200
commit403e11edbfad5da2e6d5842adc9222f60e76ee43 (patch)
tree751144dd83b609ece03796307c166f79457544a9 /include/standard-headers/linux/input-event-codes.h
parenttrace: add --group=all to tracing.txt (diff)
downloadqemu-403e11edbfad5da2e6d5842adc9222f60e76ee43.tar.gz
qemu-403e11edbfad5da2e6d5842adc9222f60e76ee43.tar.xz
qemu-403e11edbfad5da2e6d5842adc9222f60e76ee43.zip
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>
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions