Fix python 3 compatibility in statsd
Change-Id: I7e0ba155e209960edee7df3b4c7d248896cf3d5b
This commit is contained in:
parent
ea9f2ebc15
commit
7f36745b69
@ -157,7 +157,7 @@ class Server(object):
|
||||
return dimensions
|
||||
|
||||
def submit_packets(self, packets):
|
||||
for packet in packets.split("\n"):
|
||||
for packet in packets.split(b"\n"):
|
||||
|
||||
if not packet.strip():
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user