| commit | 77ca290fd10e532fdf98cea40178651dbe80b365 | [log] [tgz] |
|---|---|---|
| author | Greg Bowser <topnotcher@gmail.com> | Tue Nov 22 13:04:16 2016 -0500 |
| committer | Greg Bowser <topnotcher@gmail.com> | Tue Nov 22 13:37:53 2016 -0500 |
| tree | 47f9c1efe300a0473a7e70ee1c68478a37857ec8 | |
| parent | 0c7077a519092b2f3422b5ea0f3996ee87a5a6f0 [diff] |
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.