summaryrefslogtreecommitdiff
path: root/sphinx/builders/latex.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/latex.py')
-rw-r--r--sphinx/builders/latex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/latex.py b/sphinx/builders/latex.py
index c9690ebb4..bf7991cfb 100644
--- a/sphinx/builders/latex.py
+++ b/sphinx/builders/latex.py
@@ -57,7 +57,7 @@ class LaTeXBuilder(Builder):
return self.get_target_uri(to, typ)
def init_document_data(self):
- preliminary_document_data = map(list, self.config.latex_documents)
+ preliminary_document_data = [list(x) for x in self.config.latex_documents]
if not preliminary_document_data:
self.warn('no "latex_documents" config value found; no documents '
'will be written')