Lines Matching refs:result

43 # Constants for the (outcome, reason) combination for operation result
123 "new_be_exists", "new_be_uuid", "result", "release_notes",
130 if name not in ("result", "errors", "be", "be_uuid",
160 """.format(self.name, self.result, self.start_time, self.end_time,
188 # The new boot environment that was created as a result of the operation
192 # The uuid of the boot environment that was created as a result of the
203 # The result of the operation (must be a list indicating (outcome,
205 result = None
213 operation result of the form (outcome, reason)."""
239 if not self.start_time or not self.result:
241 return (_HistoryOperation.result_l10n[self.result[0]],
242 _HistoryOperation.result_l10n[self.result[1]])
498 op.result = node.getAttribute("result").split(", ")
500 if len(op.result) == 1:
501 op.result.append("None")
505 if op.result[0] == "Nothing to do":
506 op.result = RESULT_NOTHING_TO_DO
630 op.setAttribute("result", ", ".join(self.operation_result))
767 def abort(self, result):
778 self.operation_result = result
792 def log_operation_end(self, error=None, result=None, release_notes=None):
796 'result' should be a pkg.client.history constant value
798 and 'error' is provided, the final result of the operation will
800 for the current operation. If 'result' and 'error' is not
808 if error and not result:
811 result = error_results[error.__class__]
817 result = val
819 if not result:
820 # If a result could still not be determined,
822 result = RESULT_FAILED_UNKNOWN
823 elif not result:
824 # Assume success if no error and no result.
825 result = RESULT_SUCCEEDED
828 self.operation_result = result
860 # This may result in the text