Browse Source

Coerce bytearray to string


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@167 e5f2f494-b856-4b98-b285-d166d9295462
Shane Kerr 15 years ago
parent
commit
cb03478cdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/cc/python/ISC/CC/Message.py

+ 1 - 1
src/lib/cc/python/ISC/CC/Message.py

@@ -160,7 +160,7 @@ def _decode_item(data):
         data = data[length:]
 
     if item_type == _ITEM_DATA:
-        value = item
+        value = item.decode()
     elif item_type == _ITEM_HASH:
         value = _decode_hash(item)
     elif item_type == _ITEM_LIST: