1.0 RC: Remove deprecated provider, source, and processor shims

This commit is contained in:
Ross McFarland
2022-11-15 10:31:10 -08:00
parent a7eb1774e5
commit efa80b43a1
52 changed files with 5 additions and 984 deletions
-24
View File
@@ -1,24 +0,0 @@
#
# Ignores AWS ACM validation CNAME records.
#
from logging import getLogger
logger = getLogger('Route53')
try:
logger.warning(
'octodns_route53 shimmed. Update your processor class to '
'octodns_route53.processor.AwsAcmMangingProcessor. '
'Shim will be removed in 1.0'
)
from octodns_route53.processor import AwsAcmMangingProcessor
AwsAcmMangingProcessor # pragma: no cover
except ModuleNotFoundError:
logger.exception(
'AwsAcmMangingProcessor has been moved into a separate '
'module, octodns_route53 is now required. Processor '
'class should be updated to '
'octodns_route53.processor.AwsAcmMangingProcessor'
)
raise