Skip to content

Commit

Permalink
Fix pep8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmay committed Mar 22, 2016
1 parent 05bacf6 commit b8160c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions sshuttle/cmdline.py
Original file line number Diff line number Diff line change
@@ -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()

Expand Down
4 changes: 2 additions & 2 deletions sshuttle/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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):
Expand Down Expand Up @@ -124,7 +124,7 @@ def __call__(self, parser, namespace, values, option_string=None):
"""
)
parser.add_argument(
"-l", "--listen",
"-l", "--listen",
metavar="[IP:]PORT",
help="""
transproxy to this ip address and port number
Expand Down

0 comments on commit b8160c4

Please sign in to comment.