1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

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

View File

@@ -1,20 +0,0 @@
#
#
#
from logging import getLogger
logger = getLogger('AXFR')
try:
logger.warning(
'octodns_bind shimmed. Update your provider class to octodns_bind.AxfrSource or octodns_bind.ZoneFileSource. Shim will be removed in 1.0'
)
from octodns_bind import AxfrSource, ZoneFileSource
AxfrSource # pragma: no cover
ZoneFileSource # pragma: no cover
except ModuleNotFoundError:
logger.exception(
'AXFR/Zone file support has been moved into a separate module, octodns_bind is now required. Provider classes should be updated to octodns_bind.AxfrSource or octodns_bind.ZoneFileSource. See https://github.com/octodns/octodns#updating-to-use-extracted-providers for more information.'
)
raise