Commit 04aa288d authored by Boxiang Sun's avatar Boxiang Sun

Update submodule when running testnode

parent 6a650b03
......@@ -164,6 +164,9 @@ class Updater(object):
logger.exception("")
if not(correct_url):
self.deleteRepository()
parameter_list = ['submodule', 'update', '--init']
self._git(*parameter_list)
if not os.path.exists(self.repository_path):
parameter_list = ['clone', self.url]
if self.branch is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment