summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2009-03-15 19:06:57 +0100
committergbrandl <devnull@localhost>2009-03-15 19:06:57 +0100
commit0da45a6b8fb1ca6d6df260c11d6a734ac306ab9c (patch)
treeb8c99655137b45c812030818389cce271a1a32f7
parent558af5109a10a5351a45e810bfe3b84285bb1b4a (diff)
downloadsphinx-0da45a6b8fb1ca6d6df260c11d6a734ac306ab9c.tar.gz
Fix attribute reference error.
-rw-r--r--sphinx/builders/latex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/latex.py b/sphinx/builders/latex.py
index 96d70e3e..bc2f1ba5 100644
--- a/sphinx/builders/latex.py
+++ b/sphinx/builders/latex.py
@@ -123,7 +123,7 @@ class LaTeXBuilder(Builder):
except Exception:
self.warn('toctree contains ref to nonexisting '
'file %r' % includefile,
- self.builder.env.doc2path(docname))
+ self.env.doc2path(docname))
else:
sof = addnodes.start_of_file(docname=includefile)
sof.children = subtree.children