def _add_name_space(message, namespace=None):
 if (namespace is None):
  namespace = namespace_manager.get_namespace()
 if (not namespace):
  message.clear_name_space()
 else:
  message.set_name_space(namespace)

def _add_name_space ( message , namespace = None ) : if ( namespace is None ) : namespace = namespace_manager . get_namespace ( ) if ( not namespace ) : message . clear_name_space ( ) else : message . set_name_space ( namespace )
populate the name_space field in a messagecol buffer .