From 7869ec5823da36a3ce33b379d3d664204756cad5 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 22 Oct 2020 14:18:16 +0200 Subject: Adaptations for Chromium 86 Change-Id: I7e0ebecdbb68cfff0b574c966f3fa80d28680e1c Reviewed-by: Peter Varga --- tools/scripts/git_submodule.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/scripts/git_submodule.py') diff --git a/tools/scripts/git_submodule.py b/tools/scripts/git_submodule.py index edaed1ed2..43a652b11 100644 --- a/tools/scripts/git_submodule.py +++ b/tools/scripts/git_submodule.py @@ -47,6 +47,7 @@ class DEPSParser: def __init__(self): self.global_scope = { 'Var': lambda var_name: '{%s}' % var_name, + 'Str': str, 'deps_os': {}, } self.local_scope = {} @@ -229,8 +230,8 @@ class Submodule: # supermodule. if self.topmost_supermodule_path_prefix: if not os.path.isdir(self.path): - print '-- skipping ' + self.path + ' as dir has been stripped. --' - return + print '-- creating ' + self.path + ' as dir is missing. --' + os.makedirs(self.path) os.chdir(self.topmost_supermodule_path_prefix) if os.path.isdir(self.path): -- cgit v1.2.1