travis fix

This commit is contained in:
Luke Campagnola 2016-05-30 20:28:59 -07:00
parent 8f7b55302f
commit 49d5543fa5

View File

@ -234,7 +234,7 @@ def assertImageMatch(im1, im2, minCorr=None, pxThreshold=50.,
def saveFailedTest(data, expect, filename):
"""Upload failed test images to web server to allow CI test debugging.
"""
commit, error = runSubprocess(['git', 'rev-parse', 'HEAD'])
commit = runSubprocess(['git', 'rev-parse', 'HEAD'])
name = filename.split('/')
name.insert(-1, commit.strip())
filename = '/'.join(name)