Skip to content

Commit

Permalink
Always move pdf results even when there's an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Nov 18, 2012
1 parent 9fbf827 commit 1865b05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readthedocs/projects/tasks.py
Expand Up @@ -411,8 +411,9 @@ def build_docs(version_pk, pdf, man, epub, record, force):
if pdf:
pdf_builder = builder_loading.get('sphinx_pdf')(version)
latex_results, pdf_results = pdf_builder.build()
if pdf_results[0] == 0:
pdf_builder.move()
# Always move pdf results even when there's an error.
#if pdf_results[0] == 0:
pdf_builder.move()
else:
pdf_results = latex_results = fake_results
if man:
Expand Down

0 comments on commit 1865b05

Please sign in to comment.