image-fuzzer: Explicitly use integer division operator
commitd974451c5bc9a0bdf07a8299edf75c0f66a86e04
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Oct 2019 19:24:23 +0000 (16 16:24 -0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 5 Nov 2019 15:35:06 +0000 (5 16:35 +0100)
tree3d2af15c3244b0b35c3ad8bb3354752097880c19
parentc314e50b8ace8a66b732f3541d58b2592d4427a9
image-fuzzer: Explicitly use integer division operator

Most of the division expressions in image-fuzzer assume integer
division.  Use the // operator to keep the same behavior when we
move to Python 3.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191016192430.25098-4-ehabkost@redhat.com
Message-Id: <20191016192430.25098-4-ehabkost@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/image-fuzzer/qcow2/fuzz.py
tests/image-fuzzer/qcow2/layout.py