X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=contrib%2Fcollectd_network.py;fp=contrib%2Fcollectd_network.py;h=cb328f2b23a69166036793a6e40a12b96ac74e2e;hp=809f19dee65d2ec89a030a762bacb5e98041d8aa;hb=f81629a0c8c93076be5c5131a8496ce91e521f2d;hpb=2833df09d5c9ef55d40e24f86ce543770abb4633 diff --git a/contrib/collectd_network.py b/contrib/collectd_network.py index 809f19de..cb328f2b 100644 --- a/contrib/collectd_network.py +++ b/contrib/collectd_network.py @@ -16,7 +16,7 @@ Collectd network protocol implementation. """ -import socket,struct,sys +import socket,struct import platform if platform.python_version() < '2.8.0': # Python 2.7 and below io.StringIO does not like unicode