aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-03-30 14:13:45 +0200
committerRichard Henderson <richard.henderson@linaro.org>2020-03-30 11:44:04 -0700
commitb412378785c1bd95e3461c1373dd8938bc54fb4e (patch)
tree626d6a1ee45d801ba0d2159180334d5787fec087 /scripts/tracetool.py
parente20cb81d9c5a3d0f9c08f3642728a210a1c162c9 (diff)
downloadqemu-b412378785c1bd95e3461c1373dd8938bc54fb4e.zip
qemu-b412378785c1bd95e3461c1373dd8938bc54fb4e.tar.gz
qemu-b412378785c1bd95e3461c1373dd8938bc54fb4e.tar.bz2
decodetree: Use Python3 floor division operator
This script started using Python2, where the 'classic' division operator returns the floor result. In commit 3d004a371 we started to use Python3, where the division operator returns the float result ('true division'). To keep the same behavior, use the 'floor division' operator "//" which returns the floor result. Fixes: 3d004a371 Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200330121345.14665-1-f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/tracetool.py')
0 files changed, 0 insertions, 0 deletions