diff options
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 5d15494a4e7..a5b4a555190 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -79,7 +79,7 @@ class CommandBase(object): submodules = subprocess.check_output(["git", "submodule", "status"]) for line in submodules.split('\n'): components = line.strip().split(' ') - if len(components) > 1 and components[0].startswith('-'): + if len(components) > 1 and components[0].startswith(('-', '+')): module_path = components[1] subprocess.check_call(["git", "submodule", "update", "--init", "--recursive", "--", module_path]) |