[FIX] runbot: add missing repo parameter

This commit is contained in:
Christophe Monniez 2019-04-25 21:42:11 +02:00
parent e323aa888d
commit e5420f7a3a

View File

@ -512,7 +512,7 @@ class runbot_build(models.Model):
'%s match branch %s of %s' % (build_dependency.match_type, closest_name, repo.name)
)
if not repo._hash_exists(latest_commit):
repo._update(force=True)
repo._update(repo, force=True)
if not repo._hash_exists(latest_commit):
repo._git(['fetch', 'origin', latest_commit])
if not repo._hash_exists(latest_commit):