kkaempf/cmpi-bindings — pull request #15 by alexanderlaw (2014-12-05 09:21:02+00:00)
Title: Accept unicode strings from python functions

When a provider raises Exception with unicode string, such as:
raise pywbem.CIMError(pywbem.CIM_ERR_FAILED, u"Error message")
A client gets the error message:
lmiwbem_core.CIMError: (1, 'CIM_ERR_FAILED: Python function "invoke_method" didn\'t return a {, ) two-tuple')

With the proposed fix the message would be:
lmiwbem_core.CIMError: (1, 'CIM_ERR_FAILED: Error message')