author | David Douard <david.douard@logilab.fr> |
Fri, 02 Oct 2015 17:28:33 +0200 | |
changeset 10650 | 28b3d39bcbc6 |
parent 10649 | 4be98ec89fef |
child 10839 | 166c6f7b1be4 |
child 10891 | 5f0442600a3b |
statsd_logger.py | file | annotate | diff | comparison | revisions |
--- a/statsd_logger.py Mon Oct 12 09:19:07 2015 +0200 +++ b/statsd_logger.py Fri Oct 02 17:28:33 2015 +0200 @@ -78,7 +78,7 @@ packed = None for family in (socket.AF_INET6, socket.AF_INET): try: - packed = socket.inet_pton(family, address) + packed = socket.inet_pton(family, address[0]) break except socket.error: continue