Fix pep8 issues

This commit is contained in:
Brian May 2016-03-22 13:19:32 +11:00
parent 05bacf6fd6
commit b8160c4a37
2 changed files with 4 additions and 5 deletions

View File

@ -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()

View File

@ -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