pageinfo: deprecation warning

This commit is contained in:
James R. Barlow
2017-05-19 16:17:07 -07:00
parent ba6e290231
commit 3e73fa81bf
+4
View File
@@ -8,8 +8,12 @@ import re
import sys
import PyPDF2 as pypdf
from collections import namedtuple
import warnings
warnings.warn("ocrmypdf.pageinfo is deprecated'; use ocrmypdf.pdfinfo",
DeprecationWarning)
matrix_mult = pypdf.pdf.utils.matrixMultiply
FRIENDLY_COLORSPACE = {