code: def fire_bundle_event(self, event):
          
          with self.__bnd_lock:
              # Copy the list of listeners
              listeners = self.__bnd_listeners[:]
  
          # Call'em all
          for listener in listeners:
              try:
                  listener.bundle_changed(event)
              except:
                  self._logger.exception("Error calling a bundle listener")
docs: Notifies bundle events listeners of a new event in the calling thread.
  
          :param event: The bundle event