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

Quell all python warnings, mostly *Equals -> Equal and warn -> warning

This commit is contained in:
Ross McFarland
2022-01-13 10:58:07 -08:00
parent 4d53d05bdb
commit 32c358af04
45 changed files with 784 additions and 782 deletions

View File

@@ -9,9 +9,9 @@ from logging import getLogger
logger = getLogger('Constellix')
try:
logger.warn('octodns_constellix shimmed. Update your provider class to '
'octodns_constellix.ConstellixProvider. '
'Shim will be removed in 1.0')
logger.warning('octodns_constellix shimmed. Update your provider class to '
'octodns_constellix.ConstellixProvider. '
'Shim will be removed in 1.0')
from octodns_constellix import ConstellixProvider
ConstellixProvider # pragma: no cover
except ModuleNotFoundError: