From 01554580089618eb3566fa5051326eb861e1cb14 Mon Sep 17 00:00:00 2001 From: kpbochenek Date: Sun, 3 Apr 2016 20:06:54 +0200 Subject: [PATCH] fix doc generation with python 3.5 --- akka-docs/_sphinx/exts/includecode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/_sphinx/exts/includecode.py b/akka-docs/_sphinx/exts/includecode.py index af5684e786..cc11f2ba0e 100644 --- a/akka-docs/_sphinx/exts/includecode.py +++ b/akka-docs/_sphinx/exts/includecode.py @@ -114,7 +114,7 @@ class IncludeCode(Directive): "Snippet ({}#{}) not found!".format(filename, section), line=self.lineno )] - tabcounts = map(lambda l: countwhile(lambda c: c == ' ', l), nonempty) + tabcounts = list(map(lambda l: countwhile(lambda c: c == ' ', l), nonempty)) tabshift = min(tabcounts) if tabcounts else 0 if tabshift > 0: