Fixed syntax

This commit is contained in:
axl89 2016-09-06 11:07:28 +02:00
parent 19d6b11759
commit 0fe78ffc16
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ for test,error_msg in c.failures+c.errors:
for test,error_msg in c.success+c.skipped:
try:
sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(test.id().split('.')[1]+': '+test.id().split('.')[2])
sauce_client.jobs.update_job(test.sauce_labs_job_id, passed=True,tags=[environ["TRAVIS_BRANCH"],test.id()],build_num=environ["TRAVIS_JOB_NUMBER"],name=str(test.id().split('.')[1]+': '+test.id().split('.')[2]))
except:
print "Could not annotate Sauce Labs job #%s" % str(test)
next