Fix autoroller to skip entries without @revision in them
The problem started with https://chromium-review.googlesource.com/1407489 No-Try: True Bug: None Change-Id: Iaa8b6f0101404890ac44cca559168279807c94c8 Reviewed-on: https://webrtc-review.googlesource.com/c/121620 Reviewed-by: Artem Titarenko <artit@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26568}
This commit is contained in:
@ -247,6 +247,8 @@ def BuildDepsentryDict(deps_dict):
|
||||
if dep.get('dep_type') == 'cipd':
|
||||
result[path] = CipdDepsEntry(path, dep['packages'])
|
||||
else:
|
||||
if '@' not in dep['url']:
|
||||
continue
|
||||
url, revision = dep['url'].split('@')
|
||||
result[path] = DepsEntry(path, url, revision)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user