[svn] commit: r167 - /branches/f2f200910/src/lib/cc/python/ISC/CC/Message.py

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 29 20:45:13 UTC 2009


Author: shane
Date: Thu Oct 29 20:45:13 2009
New Revision: 167

Log:
Coerce bytearray to string


Modified:
    branches/f2f200910/src/lib/cc/python/ISC/CC/Message.py

Modified: branches/f2f200910/src/lib/cc/python/ISC/CC/Message.py
==============================================================================
--- branches/f2f200910/src/lib/cc/python/ISC/CC/Message.py (original)
+++ branches/f2f200910/src/lib/cc/python/ISC/CC/Message.py Thu Oct 29 20:45:13 2009
@@ -160,7 +160,7 @@
         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:




More information about the bind10-changes mailing list