summaryrefslogtreecommitdiff
path: root/sphinx/ext/graphviz.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-08 15:16:38 +0100
committerGeorg Brandl <georg@python.org>2011-01-08 15:16:38 +0100
commit4728d8379beb1fb91c096f0973864fc246a0dc29 (patch)
treea47673f069028a0e3b42dd697db46bfcda4e1fcb /sphinx/ext/graphviz.py
parent7f1e43cbf9baf8ca1e88f8aac4c0d970946f682c (diff)
parent53e6c23f52e9c0f76a4eb04d883a051f5e2dd0e0 (diff)
downloadsphinx-4728d8379beb1fb91c096f0973864fc246a0dc29.tar.gz
merge with https://bitbucket.org/dhellmann/sphinx-graphviz-paragraphs/
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r--sphinx/ext/graphviz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index f44e5136..8f7744b2 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -6,7 +6,7 @@
Allow graphviz-formatted graphs to be included in Sphinx-generated
documents inline.
- :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -287,7 +287,8 @@ def render_dot_latex(self, node, code, options, prefix='graphviz'):
self.body.append('\n\\end{center}')
self.body.append('\n\\end{figure}\n')
else:
- self.body.append('%s\\includegraphics{%s}' % (para_separator, fname, para_separator))
+ self.body.append('%s\\includegraphics{%s}' %
+ (para_separator, fname, para_separator))
raise nodes.SkipNode