Since we try to clone git project for 3 times in clone_gitproject method,
no need using retry method here.
Change-Id: I07d0c72440e260d3f0e425805f06bcce13c3f545
if not os.path.isfile('%s/%s/git-obs-mapping.xml' % (git_cache_dir, \
mapping_prj)):
print('Update %s/git-obs-mapping.xml to local.' % mapping_prj)
- if not utils.retry(clone_gitproject, (mapping_prj, git_cache_dir)):
+ if not clone_gitproject(mapping_prj, os.path.join(git_cache_dir,
+ mapping_prj)):
return False
return True