/[navidoc]/navidoc/navidoc/directives/pegboard.py
ViewVC logotype

Diff of /navidoc/navidoc/directives/pegboard.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by humppake, Mon Mar 31 15:24:19 2003 UTC revision 1.12 by humppake, Tue Apr 1 09:30:28 2003 UTC
# Line 135  def build_pegtable(): Line 135  def build_pegtable():
135    
136          rstfiles = [f for f in peg['files'] if f.endswith('.rst')]          rstfiles = [f for f in peg['files'] if f.endswith('.rst')]
137    
138            config.dbg.mute('docutils')
139          for rstfile in rstfiles:          for rstfile in rstfiles:
140              config.input_filename = rstfile              config.input_filename = rstfile
141              config.output_filename = ''              config.output_filename = ''
# Line 176  def build_pegtable(): Line 177  def build_pegtable():
177              except:              except:
178                  dbg_fail('PEG %s: Docutil raised an exception while converting %s. ' % (pegdir, rstfile))                  dbg_fail('PEG %s: Docutil raised an exception while converting %s. ' % (pegdir, rstfile))
179                  dbg_fail('Conversion failed and HTML not created.\n')                  dbg_fail('Conversion failed and HTML not created.\n')
180            config.dbg.enable('docutils')
181    
182          if not peg['html']:          if not peg['html']:
183              for file in peg['files']:              for file in peg['files']:

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26