Commits

Anonymous committed c3fc7e3

Fix attribute reference error.

  • Participants
  • Parent commits 2d85f92

Comments (0)

Files changed (1)

File sphinx/builders/latex.py

                     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