main: pass topdir to Manifest.from_file()

This saves an unnecessary filesystem search.

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Marti Bolivar 2019-10-08 16:15:23 -07:00 committed by Carles Cufí
parent 18857356bd
commit 9fd83959b2
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ def main(argv=None):
# re-parsed.
if topdir:
try:
manifest = Manifest.from_file()
manifest = Manifest.from_file(topdir=topdir)
extensions = get_extension_commands(manifest)
except (MalformedManifest, MalformedConfig, FileNotFoundError):
manifest = None