Skip to content
Snippets Groups Projects
Verified Commit 6eb8d06f authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

pdf: drop backward compatibility assignment


This is not really a public API

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 61f7c2b3
No related branches found
No related tags found
No related merge requests found
......@@ -135,9 +135,6 @@ class PdfFile(File):
logger.error(msg)
return ""
# for backward compatibility:
dump_pypdf2_metadata = dump_pypdf_metadata
def dump_pypdf_annotations(self, file):
try:
pdf = pypdf.PdfReader(file.path)
......@@ -160,6 +157,3 @@ class PdfFile(File):
file.add_comment(msg)
logger.error(msg)
return ""
# for backward compatibility:
dump_pypdf2_annotations = dump_pypdf_annotations
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment