summaryrefslogtreecommitdiff
path: root/sphinx/ext/autosummary/generate.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-17 23:08:08 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-17 23:08:08 +0900
commit4b331dae48cea3564ba6ebcebc5c7218cbcd4ffc (patch)
tree344d7f6997ef02c1246db71f492fad8a5b9653a5 /sphinx/ext/autosummary/generate.py
parente9c87b3d13c192a9b6a82d9ce0c6572f85e85743 (diff)
downloadsphinx-git-4b331dae48cea3564ba6ebcebc5c7218cbcd4ffc.tar.gz
Fix #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty
Diffstat (limited to 'sphinx/ext/autosummary/generate.py')
-rw-r--r--sphinx/ext/autosummary/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py
index cb27a664d..dbe997c01 100644
--- a/sphinx/ext/autosummary/generate.py
+++ b/sphinx/ext/autosummary/generate.py
@@ -408,7 +408,7 @@ The format of the autosummary directive is documented in the
def main(argv=sys.argv[1:]):
# type: (List[str]) -> None
- locale.setlocale(locale.LC_ALL, '')
+ sphinx.locale.setlocale(locale.LC_ALL, '')
sphinx.locale.init_console(os.path.join(package_dir, 'locale'), 'sphinx')
app = DummyApplication()