From 91dd66f8ebfa8add513ee653fb62507292579b1a Mon Sep 17 00:00:00 2001 From: Vitor Guidi Date: Wed, 18 Dec 2024 12:37:19 +0000 Subject: [PATCH] Remove reference to maybe_retry and use double quotes in docstring --- src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py b/src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py index 3ec7a62f64..a6fccb6924 100644 --- a/src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py +++ b/src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py @@ -138,9 +138,7 @@ def set_task_details(self, assert self._preprocess_start_time_ns is not None def _infer_uworker_main_outcome(self, exc_type, uworker_error): - '''Infers, on a best effort basis, whether an uworker output implies - success or failure. If an unequivocal response is not possible, - classifies as maybe_retry.''' + """Classifies the uworker output as success or error.""" if exc_type or uworker_error not in self._utask_success_conditions: outcome = 'error' else: