Skip to content

Commit

Permalink
Remove reference to maybe_retry and use double quotes in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorguidi committed Dec 18, 2024
1 parent 5fa210f commit 91dd66f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 91dd66f

Please sign in to comment.