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['hostname'] = args.hostname or socket.gethostname()
|
||||
|
||||
rv = send_heartbeat(**kwargs)
|
||||
if rv:
|
||||
if send_heartbeat(**kwargs):
|
||||
queue = Queue()
|
||||
while True:
|
||||
heartbeat = queue.pop()
|
||||
|
|
Loading…
Reference in a new issue