From e5420f7a3adc9de9b1590a0815151edf65b8ea6e Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Thu, 25 Apr 2019 21:42:11 +0200 Subject: [PATCH] [FIX] runbot: add missing repo parameter --- runbot/models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index c54ed811..4b9ce614 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -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):