Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove platform references #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions sshuttle/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import sshuttle.ssh as ssh
import sshuttle.ssyslog as ssyslog
import sys
import platform
from sshuttle.ssnet import SockWrapper, Handler, Proxy, Mux, MuxWrapper
from sshuttle.helpers import log, debug1, debug2, debug3, Fatal, islocal, \
resolvconf_nameservers
Expand Down Expand Up @@ -402,9 +401,6 @@ def _main(tcp_listener, udp_listener, fw, ssh_cmd, remotename,
python, latency_control,
dns_listener, seed_hosts, auto_nets, daemon):

debug1('Starting client with Python version %s\n'
% platform.python_version())

method = fw.method

handlers = []
Expand Down
4 changes: 0 additions & 4 deletions sshuttle/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import sshuttle.ssyslog as ssyslog
import sys
import os
import platform
import traceback
from sshuttle.helpers import debug1, debug2, Fatal
from sshuttle.methods import get_auto_method, get_method
Expand Down Expand Up @@ -86,9 +85,6 @@ def main(method_name, syslog):
stdin, stdout = setup_daemon()
hostmap = {}

debug1('firewall manager: Starting firewall with Python version %s\n'
% platform.python_version())

if method_name == "auto":
method = get_auto_method()
else:
Expand Down
4 changes: 0 additions & 4 deletions sshuttle/hostwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import errno
import os
import sys
import platform

import subprocess as ssubprocess
import sshuttle.helpers as helpers
Expand Down Expand Up @@ -256,9 +255,6 @@ def hw_main(seed_hosts):
else:
helpers.logprefix = 'hostwatch: '

debug1('Starting hostwatch with Python version %s\n'
% platform.python_version())

read_host_cache()

_enqueue(_check_etc_hosts)
Expand Down
3 changes: 0 additions & 3 deletions sshuttle/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import time
import sys
import os
import platform

import sshuttle.ssnet as ssnet
import sshuttle.helpers as helpers
Expand Down Expand Up @@ -217,8 +216,6 @@ def callback(self, sock):


def main(latency_control):
debug1('Starting server with Python version %s\n'
% platform.python_version())

if helpers.verbose >= 1:
helpers.logprefix = ' s: '
Expand Down