summaryrefslogtreecommitdiffstats
path: root/sshuttle/hostwatch.py
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2015-12-01 10:01:50 +1100
committerBrian May <brian@linuxpenguins.xyz>2015-12-01 10:03:24 +1100
commit43d6ad6a51453f45ce4d69462ccd4a25872bf0c1 (patch)
tree923742abffc796d07a0090dd46dc849ec2328c33 /sshuttle/hostwatch.py
parent5ab76a6ba9a0e7af28eb413bb816344c7505c899 (diff)
Print Python version used for the various stages.
Diffstat (limited to 'sshuttle/hostwatch.py')
-rw-r--r--sshuttle/hostwatch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sshuttle/hostwatch.py b/sshuttle/hostwatch.py
index eb381aa..66d93ea 100644
--- a/sshuttle/hostwatch.py
+++ b/sshuttle/hostwatch.py
@@ -5,6 +5,7 @@ import select
import errno
import os
import sys
+import platform
import subprocess as ssubprocess
import sshuttle.helpers as helpers
@@ -255,6 +256,9 @@ 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)