mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[FIX] runbot: compatibility with 7.0 API
This commit is contained in:
parent
f39ced30d3
commit
9300bd8cd8
@ -125,7 +125,7 @@ def s2human(time):
|
||||
return str(int(time)) + "s"
|
||||
|
||||
def flatten(list_of_lists):
|
||||
return itertools.chain.from_iterable(list_of_lists)
|
||||
return list(itertools.chain.from_iterable(list_of_lists))
|
||||
|
||||
def decode_utf(field):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user