Skip to content

Commit

Permalink
worker: Ignore pylint Unreachable code report
Browse files Browse the repository at this point in the history
  • Loading branch information
pmisik committed Jul 9, 2024
1 parent beccd1d commit a70588f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worker/buildbot_worker/commands/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def _tryChmod(self, rc, path):
assert isinstance(rc, int)
if rc == 0:
defer.returnValue(0)
# pylint: disable=unreachable
return # pragma: no cover
# Attempt a recursive chmod and re-try the rm -rf after.

Expand Down

0 comments on commit a70588f

Please sign in to comment.