Commits

er...@deployfx.com  committed c799192

Updated latex writer to reference builder correctly.

  • Participants
  • Parent commits 9f700c8

Comments (0)

Files changed (1)

File sphinx/writers/latex.py

         self.verbatim = ''
     def depart_literal_block(self, node):
         # force wrap the code so that it doesn't spill over
-        code = wrap(self.verbatim.rstrip('\n'),builder.config.latex_literal_wrap)
+        code = wrap(self.verbatim.rstrip('\n'), self.builder.config.latex_literal_wrap)
         lang = self.highlightlang
         linenos = code.count('\n') >= self.highlightlinenothreshold - 1
         if node.has_key('language'):