diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-12 02:50:43 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-12 02:50:43 +0900 |
| commit | 279e547860ea68e3c357f55e608afec682a1f961 (patch) | |
| tree | dc08e85ab0210538e30b5b801bf9d80ab49bfb3f /sphinx/builders/gettext.py | |
| parent | 859b5fcea71f8d4f46e0ef3726e68df54bfbc3b7 (diff) | |
| parent | 64fb1e56242d93ee0e8c317ab9e7643242b99658 (diff) | |
| download | sphinx-git-279e547860ea68e3c357f55e608afec682a1f961.tar.gz | |
Merge branch '3.x'
Diffstat (limited to 'sphinx/builders/gettext.py')
| -rw-r--r-- | sphinx/builders/gettext.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py index 04e7382ca..a5ba822db 100644 --- a/sphinx/builders/gettext.py +++ b/sphinx/builders/gettext.py @@ -9,9 +9,9 @@ """ from codecs import open -from collections import defaultdict, OrderedDict -from datetime import datetime, tzinfo, timedelta -from os import path, walk, getenv +from collections import OrderedDict, defaultdict +from datetime import datetime, timedelta, tzinfo +from os import getenv, path, walk from time import time from typing import Any, DefaultDict, Dict, Iterable, Generator, List, Set, Tuple, Union from uuid import uuid4 @@ -19,18 +19,17 @@ from uuid import uuid4 from docutils import nodes from docutils.nodes import Element -from sphinx import addnodes -from sphinx import package_dir +from sphinx import addnodes, package_dir from sphinx.application import Sphinx from sphinx.builders import Builder from sphinx.domains.python import pairindextypes from sphinx.errors import ThemeError from sphinx.locale import __ -from sphinx.util import split_index_msg, logging, status_iterator +from sphinx.util import logging, split_index_msg, status_iterator from sphinx.util.console import bold # type: ignore from sphinx.util.i18n import CatalogInfo, docname_to_domain from sphinx.util.nodes import extract_messages, traverse_translatable_index -from sphinx.util.osutil import ensuredir, canon_path, relpath +from sphinx.util.osutil import canon_path, ensuredir, relpath from sphinx.util.tags import Tags from sphinx.util.template import SphinxRenderer |
