Cleaning up some vvvv log messages in accelerate

pull/4336/head
James Cammarata 11 years ago
parent 8c17711247
commit 12f6957596

@ -191,10 +191,10 @@ class Connection(object):
response = utils.parse_json(response) response = utils.parse_json(response)
if "pong" in response: if "pong" in response:
# it's a keepalive, go back to waiting # it's a keepalive, go back to waiting
vvvv("received a keepalive packet") vvvv("%s: received a keepalive packet" % self.host)
continue continue
else: else:
vvvv("received the response") vvvv("%s: received the response" % self.host)
break break
return (response.get('rc',None), '', response.get('stdout',''), response.get('stderr','')) return (response.get('rc',None), '', response.get('stdout',''), response.get('stderr',''))

Loading…
Cancel
Save