mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-27 12:49:31 +02:00
Fix flake8 line too long
This commit is contained in:
parent
c12d2ba5c6
commit
459e573019
@ -10,7 +10,8 @@ import platform
|
|||||||
if sys.version_info >= (3, 0):
|
if sys.version_info >= (3, 0):
|
||||||
from shutil import which
|
from shutil import which
|
||||||
else:
|
else:
|
||||||
# python2 compat: shutil.which is not available so we provide our own which command
|
# python2 compat: shutil.which is not available so we provide our
|
||||||
|
# own which command
|
||||||
def which(file, mode=os.F_OK | os.X_OK, path=None):
|
def which(file, mode=os.F_OK | os.X_OK, path=None):
|
||||||
if path is not None:
|
if path is not None:
|
||||||
search_paths = [path]
|
search_paths = [path]
|
||||||
|
Loading…
Reference in New Issue
Block a user