More debug messages on repair; update notes

This commit is contained in:
James R. Barlow
2018-03-28 00:39:38 -07:00
parent 5becfcf8ea
commit d0271d5049
3 changed files with 8 additions and 2 deletions
-1
View File
@@ -728,7 +728,6 @@ class PdfInfo:
else:
self._toc = []
@property
def pages(self):
return self._pages
+3
View File
@@ -212,7 +212,10 @@ def repair_pdf(
log,
context):
options = context.get_options()
log.debug("Beginning qpdf repair...")
qpdf.repair(input_file, output_file, log)
log.debug("Repair OK; beginning parse...")
pdfinfo = PdfInfo(output_file)
if pdfinfo.has_userunit and options.output_type == 'pdfa':