[recipes] Fix internal_test tryjobs.
>>> 'internal_test.git'.rstrip('.git') 'internal_tes' Change-Id: If023784a7387a89b2ba1972ea43d68a0c07df635 Reviewed-on: https://skia-review.googlesource.com/19546 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ben Wagner <benjaminwagner@google.com>
This commit is contained in:
parent
7cd974fc7d
commit
1791a064f1
@ -75,7 +75,9 @@ class SkiaApi(recipe_api.RecipeApi):
|
||||
patch_repo = main.url
|
||||
if self.m.properties.get('patch_repo'):
|
||||
patch_repo = self.m.properties['patch_repo']
|
||||
patch_root = patch_repo.split('/')[-1].rstrip('.git')
|
||||
patch_root = patch_repo.split('/')[-1]
|
||||
if patch_root.endswith('.git'):
|
||||
patch_root = patch_root[:-4]
|
||||
|
||||
if self.m.vars.need_pdfium_checkout:
|
||||
# Skia is a DEP of PDFium; the 'revision' property is a Skia revision, and
|
||||
|
Loading…
Reference in New Issue
Block a user