Skip to content

Commit

Permalink
Fix lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorguidi committed Dec 13, 2024
1 parent 6b3c119 commit f909755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ def set_task_details(self,
# Ensure we always have a value after this method returns.
assert self._preprocess_start_time_ns is not None

def _infer_uworker_main_outcome(self, _exc_type, uworker_error):
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.'''
if _exc_type or uworker_error in self._utask_failure_conditions:
if exc_type or uworker_error in self._utask_failure_conditions:
outcome = 'error'
elif uworker_error in self._utask_maybe_retry_conditions:
outcome = 'maybe_retry'
Expand Down

0 comments on commit f909755

Please sign in to comment.