parameters: (self, ev_id)
docstring: For calling from other mgr modules
docstring_summary: For calling from other mgr modules
docstring_tokens: For calling from other mgr modules
function: def complete(self, ev_id):
          """
          For calling from other mgr modules
          """
          if not self.enabled:
              return
          try:
              ev = self._events[ev_id]
              assert isinstance(ev, RemoteEvent)
              ev.set_progress(1.0)
              self.log.info("complete: finished ev {0} ({1})".format(ev_id,
                                                                     ev.message))
              self._complete(ev)
          except KeyError:
              self.log.warning("complete: ev {0} does not exist".format(ev_id))
              pass
function_tokens: def complete ( self , ev_id ) : if not self . enabled : return try : ev = self . _events [ ev_id ] assert isinstance ( ev , RemoteEvent ) ev . set_progress ( 1.0 ) self . log . info ( "complete: finished ev {0} ({1})" . format ( ev_id , ev . message ) ) self . _complete ( ev ) except KeyError : self . log . warning ( "complete: ev {0} does not exist" . format ( ev_id ) ) pass