wip
This commit is contained in:
parent
823ecc6bf9
commit
6a9593f33d
2 changed files with 21 additions and 33 deletions
5
netbox_agent/misc.py
Normal file
5
netbox_agent/misc.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
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