pep8 fixes and logging
This commit is contained in:
parent
4afd3b9170
commit
b30591b382
6 changed files with 38 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
|||
from shutil import which
|
||||
|
||||
|
||||
def is_tool(name):
|
||||
'''Check whether `name` is on PATH and marked as executable.'''
|
||||
return which(name) is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue