mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: dictionary don't have iteritems attibute
This commit is contained in:
parent
a886dba4ab
commit
8b4b941e06
@ -197,7 +197,7 @@ class runbot_build(models.Model):
|
||||
# exception. We ignore this branch as there is no common ref between us.
|
||||
continue
|
||||
if common_refs:
|
||||
b = sorted(common_refs.iteritems(), key=operator.itemgetter(1), reverse=True)[0][0]
|
||||
b = sorted(common_refs.items(), key=operator.itemgetter(1), reverse=True)[0][0]
|
||||
return target_id, b, 'fuzzy'
|
||||
|
||||
# 5. last-resort value
|
||||
|
Loading…
Reference in New Issue
Block a user