HomeFreeBSD

Squash deprecation warning related to array.array(..).tostring()

Description

Squash deprecation warning related to array.array(..).tostring()

In version 3.2+, array.array(..).tostring() was renamed to
array.array(..).tobytes(). Conditionally call array.array(..).tobytes() if
the python version is 3.2+.

PR: 237403
MFC after: 1 week

Details

Committed
ngieMay 21 2019, 2:13 AM
Parents
rS348030: Fix remaining encoding issues with python 3
Branches
Unknown
Tags
Unknown