Skip to content

Commit

Permalink
Fix placement of coverage pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmatthews committed Apr 3, 2017
1 parent f70b912 commit 4ed15a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions COT/helpers/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ def check_call(args, require_success=True, retry_with_sudo=False, **kwargs):
# to:
# ENOEXEC "Exec format error"
# We shouldn't see ENOEXEC otherwise, so we special case this.
if (exc.errno == errno.ENOEXEC and # pragma: no cover
args[0] == 'sudo'):
if (exc.errno == errno.ENOEXEC and
args[0] == 'sudo'): # pragma: no cover
raise HelperError(exc.errno, "The 'sudo' command is unavailable")
if exc.errno != errno.ENOENT:
raise
Expand Down

0 comments on commit 4ed15a6

Please sign in to comment.