def __init__(self, raw):
        """
        Concretely, this is the raw event plus inferred infos.
        """
        _Event.__init__(self, raw)
        self.maskname = EventsCodes.maskname(self.mask)
        if COMPATIBILITY_MODE:
            self.event_name = self.maskname
        try:
            if self.name:
                self.pathname = os.path.abspath(os.path.join(self.path,
                                                             self.name))
            else:
                self.pathname = os.path.abspath(self.path)
        except AttributeError as err:
            # Usually it is not an error some events are perfectly valids
            # despite the lack of these attributes.
            log.debug(err)
def __init__ ( self , raw ) : _Event . __init__ ( self , raw ) self . maskname = EventsCodes . maskname ( self . mask ) if COMPATIBILITY_MODE : self . event_name = self . maskname try : if self . name : self . pathname = os . path . abspath ( os . path . join ( self . path , self . name ) ) else : self . pathname = os . path . abspath ( self . path ) except AttributeError as err : log . debug ( err )
Concretely, this is the raw event plus inferred infos.