mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-30 17:59:22 +01:00
Fix pep8 issues
This commit is contained in:
parent
05bacf6fd6
commit
b8160c4a37
@ -1,14 +1,13 @@
|
|||||||
import sys
|
|
||||||
import re
|
import re
|
||||||
import socket
|
|
||||||
import sshuttle.helpers as helpers
|
import sshuttle.helpers as helpers
|
||||||
import sshuttle.client as client
|
import sshuttle.client as client
|
||||||
import sshuttle.firewall as firewall
|
import sshuttle.firewall as firewall
|
||||||
import sshuttle.hostwatch as hostwatch
|
import sshuttle.hostwatch as hostwatch
|
||||||
import sshuttle.ssyslog as ssyslog
|
import sshuttle.ssyslog as ssyslog
|
||||||
from sshuttle.options import parser
|
from sshuttle.options import parser, parse_ipport6, parse_ipport4
|
||||||
from sshuttle.helpers import family_ip_tuple, log, Fatal
|
from sshuttle.helpers import family_ip_tuple, log, Fatal
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
opt = parser.parse_args()
|
opt = parser.parse_args()
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import re
|
|||||||
import socket
|
import socket
|
||||||
from argparse import ArgumentParser, Action, ArgumentTypeError as Fatal
|
from argparse import ArgumentParser, Action, ArgumentTypeError as Fatal
|
||||||
from sshuttle import __version__
|
from sshuttle import __version__
|
||||||
from sshuttle.helpers import family_ip_tuple
|
|
||||||
|
|
||||||
# 1.2.3.4/5 or just 1.2.3.4
|
# 1.2.3.4/5 or just 1.2.3.4
|
||||||
def parse_subnet4(s):
|
def parse_subnet4(s):
|
||||||
@ -124,7 +124,7 @@ parser.add_argument(
|
|||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-l", "--listen",
|
"-l", "--listen",
|
||||||
metavar="[IP:]PORT",
|
metavar="[IP:]PORT",
|
||||||
help="""
|
help="""
|
||||||
transproxy to this ip address and port number
|
transproxy to this ip address and port number
|
||||||
|
Loading…
Reference in New Issue
Block a user