From 9300bd8cd847b31772a6eceb9e140d893e12b472 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 23 Jul 2014 13:09:08 +0200 Subject: [PATCH] [FIX] runbot: compatibility with 7.0 API --- runbot/runbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index 8745fd5b..4106e7fc 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -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: