Print Python version used for the various stages.

This commit is contained in:
Brian May
2015-12-01 10:01:50 +11:00
parent 5ab76a6ba9
commit 43d6ad6a51
4 changed files with 16 additions and 0 deletions

View File

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