parameters: (self)
return_statement: return out
docstring: Returns a nice formatted string version of the message
docstring_summary: Returns a nice formatted string version of the message
docstring_tokens: Returns a nice formatted string version of the message
function: def __str__(self):
          """Returns a nice formatted string version of the message"""
          s_lst = [u"[%s][%s][%s]%s" % (self.ClockTime, self.Origin,
                                        self.Type, msg.rstrip()) 
                   for msg in self.Value.split(u"\n")
                   if len(msg.strip())]
          try:
              sys_enc = sys.getfilesystemencoding()
              out = os.linesep.join([val.encode(sys_enc, 'replace') 
                                     for val in s_lst])
          except UnicodeEncodeError:
              out = repr(self)
  
          # Mark Message as have being fetched (expired)
          self._ok = False
  
          return out
function_tokens: def __str__ ( self ) : s_lst = [ u"[%s][%s][%s]%s" % ( self . ClockTime , self . Origin , self . Type , msg . rstrip ( ) ) for msg in self . Value . split ( u"\n" ) if len ( msg . strip ( ) ) ] try : sys_enc = sys . getfilesystemencoding ( ) out = os . linesep . join ( [ val . encode ( sys_enc , 'replace' ) for val in s_lst ] ) except UnicodeEncodeError : out = repr ( self ) # Mark Message as have being fetched (expired) self . _ok = False return out