rfc2217: Fix broken calls to to_bytes on Python3.

These all call `to_bytes()` with a list of bytes, which fails in
`bytes(bytearray(seq))` on Python 3 since `bytearray` is expecting
ints.

Solution: Remove the unnecessary calls to `to_bytes()` - the relevant
values all seem to have been converted to bytes anyway.
1 file changed