diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-04-30 23:25:44 +0900 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-04-30 23:25:44 +0900 |
commit | 2d1549b35a4adea66aebd0b7d9266731dd7ece6f (patch) | |
tree | 7f82f3e5a85f1946276416a44272b6860c355d4a /sphinx/builders/texinfo.py | |
parent | 6ae3b68859562f07a1a7e215a7b55dce800305a9 (diff) | |
download | sphinx-git-2d1549b35a4adea66aebd0b7d9266731dd7ece6f.tar.gz |
wrap py3 iterators with list() for each places that expect a list object. refs #1350.
Diffstat (limited to 'sphinx/builders/texinfo.py')
-rw-r--r-- | sphinx/builders/texinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/texinfo.py b/sphinx/builders/texinfo.py index a3152e7cb..53463f3c7 100644 --- a/sphinx/builders/texinfo.py +++ b/sphinx/builders/texinfo.py @@ -108,7 +108,7 @@ class TexinfoBuilder(Builder): return self.get_target_uri(to, typ) def init_document_data(self): - preliminary_document_data = map(list, self.config.texinfo_documents) + preliminary_document_data = [list(x) for x in self.config.texinfo_documents] if not preliminary_document_data: self.warn('no "texinfo_documents" config value found; no documents ' 'will be written') |