parameters: (self, delayedResult)
docstring: Receives the return from the result of the worker thread and
          notifies the interested party with the result.
          @param delayedResult:  value from worker thread
docstring_summary: Receives the return from the result of the worker thread and
          notifies the interested party with the result.
          @param delayedResult:  value from worker thread
docstring_tokens: Receives the return from the result of the worker thread and notifies the interested party with the result . @param delayedResult : value from worker thread
function: def _ResultNotifier(self, delayedResult):
          """Receives the return from the result of the worker thread and
          notifies the interested party with the result.
          @param delayedResult:  value from worker thread
  
          """
          jid = delayedResult.getJobID()
          try:
              self.LOG("[updater][info] UpdateProgress: Worker thread exited. ID = %d" % jid)
              self._checking = self._downloading = False # Work has finished
          except wx.PyDeadObjectError:
              return
  
          try:
              if jid == self.ID_CHECKING:
                  mevt = ed_event.UpdateTextEvent(ed_event.edEVT_UPDATE_TEXT, \
                                                  self.ID_CHECKING)
                  wx.PostEvent(self.GetParent(), mevt)
                  self.SetValue(self.GetRange())
              elif jid == self.ID_DOWNLOADING:
                  result = delayedResult.get()
                  self._dl_result = result
              else:
                  pass
          except (OSError, IOError, UnicodeDecodeError), msg:
              self.LOG("[updater][err] UpdateProgress: Error on thread exit")
              self.LOG("[updater][err] UpdateProgress: error = %s" % str(msg))
function_tokens: def _ResultNotifier ( self , delayedResult ) : jid = delayedResult . getJobID ( ) try : self . LOG ( "[updater][info] UpdateProgress: Worker thread exited. ID = %d" % jid ) self . _checking = self . _downloading = False # Work has finished except wx . PyDeadObjectError : return try : if jid == self . ID_CHECKING : mevt = ed_event . UpdateTextEvent ( ed_event . edEVT_UPDATE_TEXT , self . ID_CHECKING ) wx . PostEvent ( self . GetParent ( ) , mevt ) self . SetValue ( self . GetRange ( ) ) elif jid == self . ID_DOWNLOADING : result = delayedResult . get ( ) self . _dl_result = result else : pass except ( OSError , IOError , UnicodeDecodeError ) , msg : self . LOG ( "[updater][err] UpdateProgress: Error on thread exit" ) self . LOG ( "[updater][err] UpdateProgress: error = %s" % str ( msg ) )