Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
sshuttle
Commits
459e5730
Unverified
Commit
459e5730
authored
Aug 28, 2020
by
Joseph Barker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flake8 line too long
parent
c12d2ba5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server.py
sshuttle/server.py
+2
-1
No files found.
sshuttle/server.py
View file @
459e5730
...
@@ -10,7 +10,8 @@ import platform
...
@@ -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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment