From 1d0b2e899c165764790d6b01a2a337f5c888c515 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Thu, 6 Oct 2022 17:45:25 +0200 Subject: [PATCH] fix imports --- PyPDF2/_encryption.py | 6 +++--- PyPDF2/xmp.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyPDF2/_encryption.py b/PyPDF2/_encryption.py index dfd6742b12..0eae5c4ff6 100644 --- a/PyPDF2/_encryption.py +++ b/PyPDF2/_encryption.py @@ -31,9 +31,9 @@ from enum import IntEnum from typing import Any, Dict, Optional, Tuple, Union, cast -from PyPDF2._utils import logger_warning -from PyPDF2.errors import DependencyError -from PyPDF2.generic import ( +from ._utils import logger_warning +from .errors import DependencyError +from .generic import ( ArrayObject, ByteStringObject, DictionaryObject, diff --git a/PyPDF2/xmp.py b/PyPDF2/xmp.py index 06c92132d6..9276cab112 100644 --- a/PyPDF2/xmp.py +++ b/PyPDF2/xmp.py @@ -23,9 +23,9 @@ from xml.dom.minidom import parseString from xml.parsers.expat import ExpatError -from PyPDF2.errors import PdfReadError from ._utils import StreamType, deprecate_with_replacement +from .errors import PdfReadError from .generic import ContentStream, PdfObject RDF_NAMESPACE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"