diff options
Diffstat (limited to 'sphinx/builders/gettext.py')
-rw-r--r-- | sphinx/builders/gettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py index f36d0202c..aeb98aaab 100644 --- a/sphinx/builders/gettext.py +++ b/sphinx/builders/gettext.py @@ -110,7 +110,7 @@ class I18nBuilder(Builder): for node, entries in traverse_translatable_index(doctree): for typ, msg, tid, main in entries: for m in split_index_msg(typ, msg): - if typ == 'pair' and m in pairindextypes.values(): + if typ == 'pair' and m in list(pairindextypes.values()): # avoid built-in translated message was incorporated # in 'sphinx.util.nodes.process_index_entry' continue |