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
4e945ca4
Commit
4e945ca4
authored
Feb 14, 2019
by
Thomas Bouve
Committed by
Brian May
Feb 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assembler import fix (#319)
* assembler import fix. * Added noqa to import statements.
parent
3bfb975e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
assembler.py
sshuttle/assembler.py
+5
-4
No files found.
sshuttle/assembler.py
View file @
4e945ca4
...
@@ -2,10 +2,6 @@ import sys
...
@@ -2,10 +2,6 @@ import sys
import
zlib
import
zlib
import
imp
import
imp
import
sshuttle.helpers
import
sshuttle.cmdline_options
as
options
from
sshuttle.server
import
main
verbosity
=
verbosity
# noqa: F821 must be a previously defined global
verbosity
=
verbosity
# noqa: F821 must be a previously defined global
z
=
zlib
.
decompressobj
()
z
=
zlib
.
decompressobj
()
while
1
:
while
1
:
...
@@ -34,7 +30,12 @@ while 1:
...
@@ -34,7 +30,12 @@ while 1:
sys
.
stderr
.
flush
()
sys
.
stderr
.
flush
()
sys
.
stdout
.
flush
()
sys
.
stdout
.
flush
()
# import can only happen once the code has been transferred to
# the server. 'noqa: E402' excludes these lines from QA checks.
import
sshuttle.helpers
# noqa: E402
sshuttle
.
helpers
.
verbose
=
verbosity
sshuttle
.
helpers
.
verbose
=
verbosity
import
sshuttle.cmdline_options
as
options
# noqa: E402
from
sshuttle.server
import
main
# noqa: E402
main
(
options
.
latency_control
,
options
.
auto_hosts
,
options
.
to_nameserver
,
main
(
options
.
latency_control
,
options
.
auto_hosts
,
options
.
to_nameserver
,
options
.
auto_nets
)
options
.
auto_nets
)
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