diff options
| author | Georg Brandl <georg@python.org> | 2010-05-28 22:37:54 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-05-28 22:37:54 +0200 |
| commit | f61fbad8ac2bcc45e805cfd918db01ebf1230827 (patch) | |
| tree | e46cb7252a66332430b96f0220878e60fb878227 /sphinx/builders | |
| parent | f8f2dcd4e9234ded1ed7b34db15491e544e0850b (diff) | |
| download | sphinx-f61fbad8ac2bcc45e805cfd918db01ebf1230827.tar.gz | |
#432: Fix UnicodeErrors while building LaTeX in translated locale; do not swallow UnicodeError as a warning.
Diffstat (limited to 'sphinx/builders')
| -rw-r--r-- | sphinx/builders/latex.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sphinx/builders/latex.py b/sphinx/builders/latex.py index 0481b308..1fbdbb78 100644 --- a/sphinx/builders/latex.py +++ b/sphinx/builders/latex.py @@ -105,13 +105,7 @@ class LaTeXBuilder(Builder): doctree.settings.title = title doctree.settings.docname = docname doctree.settings.docclass = docclass - try: - docwriter.write(doctree, destination) - except UnicodeError: - self.warn("a Unicode error occurred when writing the output. " - "Please make sure all config values that contain " - "non-ASCII content are Unicode strings.") - return + docwriter.write(doctree, destination) self.info("done") def assemble_doctree(self, indexfile, toctree_only, appendices): |
