code: def _FormatInode(self, event):
      
      inode = event.inode
      if inode is None:
        if hasattr(event, 'pathspec') and hasattr(event.pathspec, 'image_inode'):
          inode = event.pathspec.image_inode
      if inode is None:
        inode = '-'
  
      return inode
docs: Formats the inode.
  
      Args:
        event (EventObject): event.
  
      Returns:
        str: inode field.