pep8 fixes and logging

This commit is contained in:
Solvik Blum 2019-08-21 10:40:32 +02:00
parent 4afd3b9170
commit b30591b382
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47
6 changed files with 38 additions and 11 deletions

View file

@ -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