From 5cad1481aab59d67fff900eeaedc32fb2dc3242e Mon Sep 17 00:00:00 2001 From: jfbu Date: Mon, 4 Apr 2016 10:14:20 +0200 Subject: [PATCH] Fix line too long issue reported by Travis CI modified: sphinx/writers/latex.py --- sphinx/writers/latex.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index 2ac92c149..d587c1fbe 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -1445,7 +1445,8 @@ class LaTeXTranslator(nodes.NodeVisitor): if self.in_container_literal_block: self.body.append('\\needspace{\\literalblockneedspace}') self.body.append('\\vspace{\\literalblockcaptiontopvspace}\n') - self.body.append('\\SphinxSetupCaptionForVerbatim{literal-block}{' + self.context.pop()) + self.body.append('\\SphinxSetupCaptionForVerbatim{literal-block}{' + '' + self.context.pop()) elif self.in_minipage and isinstance(node.parent, nodes.figure): self.body.append('\\captionof{figure}{') else: