• Ben Wiederhake's avatar
    Make hostwatch locale-independent (#379) · 6ad4473c
    Ben Wiederhake authored
    * Make hostwatch locale-independent
    
    See #377: hostwatch used to call netstat and parse the result,
    without setting the locale.
    The problem is converting the binary output to a unicode string,
    as the locale may be utf-8, latin-1, or literally anything.
    Setting the locale to C avoids this issue, as netstat's source
    strings to not use non-ASCII characters.
    
    * Break line, check all other invocations
    6ad4473c
Name
Last commit
Last update
docs Loading commit data...
sshuttle Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.prospector.yml Loading commit data...
.travis.yml Loading commit data...
CHANGES.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
bandit.yml Loading commit data...
requirements-tests.txt Loading commit data...
requirements.txt Loading commit data...
run Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...