summaryrefslogtreecommitdiff
path: root/sphinx/builders/latex.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-17 19:33:23 +0100
committerGeorg Brandl <georg@python.org>2010-01-17 19:33:23 +0100
commitb0dbc8bb87461a6ac18acd744472f1eca94a3150 (patch)
treedeb311cb6a8c188e72e69193ef6bb0615a14cdf8 /sphinx/builders/latex.py
parentd640630d580aef603fed3e1dd6dfd15703a243f8 (diff)
downloadsphinx-b0dbc8bb87461a6ac18acd744472f1eca94a3150.tar.gz
Make the _ gettext alias an explicit import instead of installing into builtins.
Diffstat (limited to 'sphinx/builders/latex.py')
-rw-r--r--sphinx/builders/latex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builders/latex.py b/sphinx/builders/latex.py
index 21771327..0481b308 100644
--- a/sphinx/builders/latex.py
+++ b/sphinx/builders/latex.py
@@ -19,6 +19,7 @@ from docutils.frontend import OptionParser
from sphinx import package_dir, addnodes
from sphinx.util import texescape
+from sphinx.locale import _
from sphinx.builders import Builder
from sphinx.environment import NoUri
from sphinx.util.nodes import inline_all_toctrees