diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-17 23:08:08 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-17 23:08:08 +0900 |
commit | 4b331dae48cea3564ba6ebcebc5c7218cbcd4ffc (patch) | |
tree | 344d7f6997ef02c1246db71f492fad8a5b9653a5 /sphinx/cmd/quickstart.py | |
parent | e9c87b3d13c192a9b6a82d9ce0c6572f85e85743 (diff) | |
download | sphinx-git-4b331dae48cea3564ba6ebcebc5c7218cbcd4ffc.tar.gz |
Fix #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r-- | sphinx/cmd/quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 61ca3b10f..5494423e4 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -613,7 +613,7 @@ Makefile to be used with sphinx-build. def main(argv=sys.argv[1:]): # type: (List[str]) -> int - locale.setlocale(locale.LC_ALL, '') + sphinx.locale.setlocale(locale.LC_ALL, '') sphinx.locale.init_console(os.path.join(package_dir, 'locale'), 'sphinx') if not color_terminal(): |