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') |
config.dbg.mute('docutils') |
139 |
|
config.mp_eps_only = 1 |
140 |
for rstfile in rstfiles: |
for rstfile in rstfiles: |
141 |
config.input_filename = rstfile |
config.input_filename = rstfile |
142 |
config.output_filename = '' |
config.output_filename = '' |
179 |
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)) |
180 |
dbg_fail('Conversion failed and HTML not created.\n') |
dbg_fail('Conversion failed and HTML not created.\n') |
181 |
config.dbg.enable('docutils') |
config.dbg.enable('docutils') |
182 |
|
config.mp_eps_only = 0 |
183 |
|
|
184 |
if not peg['html']: |
if not peg['html']: |
185 |
for file in peg['files']: |
for file in peg['files']: |