Strip gerrit url trailing slash
Test: ./development/tools/repo_pull/repo_review.py 'topic:"..."' --set-topic "..." Change-Id: Ifaadfdd3ecd615bbe6948be46ac91a15373bdc3b
This commit is contained in:
@@ -334,7 +334,7 @@ def find_gerrit_name():
|
||||
name = remote.getAttribute('name')
|
||||
review = remote.getAttribute('review')
|
||||
if review and name == default_remote_name:
|
||||
return review
|
||||
return review.rstrip('/')
|
||||
|
||||
raise ValueError('cannot find gerrit URL from manifest')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user