Alessandro Pilotti 19693618a8 Use floor division where floating point division was used
In Python 3 the division operator generates floats by default,
which could lead to unexpected crashes where integers were expected.
We changed the division operator to floor division operator, which has
the old behaviour from Python 2.

Change-Id: Iffed1383bbf4a025ef0a64bdb7664544e66ba6ea
Co-Authored-By: Claudiu Popa <cpopa@cloudbasesolutions.com>
Closes-Bug: #1494498
2015-09-11 18:12:58 +03:00
..
2012-12-01 23:50:15 +02:00