sapcc / asr1k-neutron-l3

Cisco ASR 1000 Neutron L3 driver
Apache License 2.0
4 stars 1 forks source link

Use Integer division for syncloop chunk size #53

Closed sebageek closed 3 years ago

sebageek commented 3 years ago

Py2 / was integer division, Py3 is float. In the syncloop we reduce the chunk size in certain cases. If we use float division we end up getting a float in range(), which then dies with a TypeError.