mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: typo, branch is a dict from search_read()
This commit is contained in:
parent
d40460d9f1
commit
42ae78f647
@ -670,7 +670,7 @@ class runbot_build(osv.osv):
|
||||
""", [repo.id, target_id])
|
||||
for common_name, in cr.fetchall():
|
||||
try:
|
||||
commit = repo.git(['merge-base', branch.name, common_name]).strip()
|
||||
commit = repo.git(['merge-base', branch['name'], common_name]).strip()
|
||||
cmd = ['log', '-1', '--format=%cd', '--date=iso', commit]
|
||||
common_refs[common_name] = repo.git(cmd).strip()
|
||||
except subprocess.CalledProcessError:
|
||||
|
Loading…
Reference in New Issue
Block a user