Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f79bee1

Browse files
committed
fixed an error message in backend_ps.gs_distill
svn path=/trunk/matplotlib/; revision=2829
1 parent 5cca1f0 commit f79bee1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,8 +1341,7 @@ def gs_distill(tmpfile, eps=False, ptype='letter', bbox=None):
13411341
exit_status = os.system(command)
13421342
fh = file(outfile)
13431343
if exit_status: raise RuntimeError('ghostscript was not able to process \
1344-
your image.\nHere is the full report generated by ghostscript: \
1345-
\n\n'% dvifile + fh.read())
1344+
your image.\nHere is the full report generated by ghostscript:\n\n' + fh.read())
13461345
else: verbose.report(fh.read(), 'debug')
13471346
fh.close()
13481347
os.remove(outfile)

0 commit comments

Comments
 (0)