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