project.py: don't force a git call in west manifest
As a WestCommand, this context knows its topdir. Passing this to Manifest.from_file() is enough to avoid shelling out to git when loading the manifest again, which we should do. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
2101a7af38
commit
33e5c106bf
|
@ -485,7 +485,7 @@ class ManifestCommand(_ProjectCommand):
|
|||
#
|
||||
# The code in main.py is responsible for handling any errors
|
||||
# and printing useful messages.
|
||||
manifest = Manifest.from_file()
|
||||
manifest = Manifest.from_file(topdir=self.topdir)
|
||||
dump_kwargs = {'default_flow_style': False,
|
||||
'sort_keys': False}
|
||||
|
||||
|
|
Loading…
Reference in New Issue