diff options
| author | Max Reitz | 2018-10-22 15:53:02 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2018-10-31 01:11:52 +0100 |
| commit | 9a3a9a636eaf207816891f504b569b8d674987aa (patch) | |
| tree | d36aa86b2797ee390d8b2b3aaedef2806ec9b729 /scripts/git-submodule.sh | |
| parent | iotests: Use Python byte strings where appropriate (diff) | |
| download | qemu-9a3a9a636eaf207816891f504b569b8d674987aa.tar.gz qemu-9a3a9a636eaf207816891f504b569b8d674987aa.tar.xz qemu-9a3a9a636eaf207816891f504b569b8d674987aa.zip | |
iotests: Use // for Python integer division
In Python 3, / is always a floating-point division. We usually do not
want this, and as Python 2.7 understands // as well, change all integer
divisions to use that.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20181022135307.14398-5-mreitz@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions
