HomeFreeBSD

Replace `str.{decode,encode}("hex")` with binascii.(un)?hexlify

Description

Replace str.{decode,encode}("hex") with binascii.(un)?hexlify

Encoding/decoding base_string objects as "hex" was removed in py3 and replaced
with other methods, one being binascii.(un)?hexlify.

Details

Provenance
ngieAuthored on
Parents
rS346448: netdump: Fix 11 compatibility DIOCSKERNELDUMP ioctl
Branches
Unknown
Tags
Unknown