cloudbase/cloudbase-init — pull request #79 by PCManticore (2014-09-10 00:28:43+00:00)
Title: Use bytearray.fromhex instead of binascii.unhexlify.

Hello,

Here's a patch which replaces bytearray(binascii.unhexlify(s.decode(..))) with the cleaner bytearray.fromhex. This should be preferred, because there is only one operation involved, instead of three (decoding, unhexlifying, passing the resulted buffer into a bytearray).