remove project from args because we pass it separately to send_heartbeat function
This commit is contained in:
parent
906237221b
commit
c2a8d197bf
1 changed files with 5 additions and 1 deletions
|
@ -454,11 +454,15 @@ def main(argv=None):
|
|||
if not project_name:
|
||||
project_name = args.alternate_project
|
||||
|
||||
kwargs = vars(args)
|
||||
if 'project' in kwargs:
|
||||
del kwargs['project']
|
||||
|
||||
if send_heartbeat(
|
||||
project=project_name,
|
||||
branch=branch,
|
||||
stats=stats,
|
||||
**vars(args)
|
||||
**kwargs
|
||||
):
|
||||
queue = Queue()
|
||||
while True:
|
||||
|
|
Loading…
Reference in a new issue