def _mbcs_to_unicode_wrap(obj, vtype):
 if (vtype == u'REG_BINARY'):
  return obj
 if isinstance(obj, list):
  return [_mbcs_to_unicode(x) for x in obj]
 elif isinstance(obj, int):
  return obj
 else:
  return _mbcs_to_unicode(obj)

def _mbcs_to_unicode_wrap ( obj , vtype ) : if ( vtype == u'REG_BINARY' ) : return obj if isinstance ( obj , list ) : return [ _mbcs_to_unicode ( x ) for x in obj ] elif isinstance ( obj , int ) : return obj else : return _mbcs_to_unicode ( obj )
wraps _mbcs_to_unicode for use with registry vdata .