don't need return value as variable
This commit is contained in:
parent
9884eea311
commit
2dddbd8094
1 changed files with 1 additions and 2 deletions
|
@ -426,8 +426,7 @@ def execute(argv=None):
|
||||||
kwargs['stats'] = stats
|
kwargs['stats'] = stats
|
||||||
kwargs['hostname'] = args.hostname or socket.gethostname()
|
kwargs['hostname'] = args.hostname or socket.gethostname()
|
||||||
|
|
||||||
rv = send_heartbeat(**kwargs)
|
if send_heartbeat(**kwargs):
|
||||||
if rv:
|
|
||||||
queue = Queue()
|
queue = Queue()
|
||||||
while True:
|
while True:
|
||||||
heartbeat = queue.pop()
|
heartbeat = queue.pop()
|
||||||
|
|
Loading…
Reference in a new issue