mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
loman: work with new gerrit workflow
Fix to handle new repository naming. Instead name="kernel", the kernel is now name="chromiumos/third_party/kernel". BUG=15076 TEST=Ran unittests and verified that local_manifest.xml got created correctly when working on the kernel for the first time. Change-Id: Ib0eef7ecb0522c3b5bcc111d0f30467c8ca19ec5 Reviewed-on: http://gerrit.chromium.org/gerrit/546 Reviewed-by: Chris Sosa <sosa@chromium.org> Tested-by: Mandeep Singh Baines <msb@chromium.org>
This commit is contained in:
parent
9c5d88573f
commit
c7dc24c89e
@ -77,7 +77,7 @@ class LocalManifest:
|
||||
"""
|
||||
|
||||
for project in self._root.findall('project'):
|
||||
if project.attrib['name'] == name:
|
||||
if project.attrib['name'].split('/')[-1] == name:
|
||||
return project
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user