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:
@@ -9,9 +9,9 @@ from logging import getLogger
|
||||
|
||||
logger = getLogger('GoogleCloud')
|
||||
try:
|
||||
logger.warn('octodns_googlecloud shimmed. Update your provider class to '
|
||||
'octodns_googlecloud.GoogleCloudProvider. '
|
||||
'Shim will be removed in 1.0')
|
||||
logger.warning('octodns_googlecloud shimmed. Update your provider class '
|
||||
'to octodns_googlecloud.GoogleCloudProvider. '
|
||||
'Shim will be removed in 1.0')
|
||||
from octodns_googlecloud import GoogleCloudProvider
|
||||
GoogleCloudProvider # pragma: no cover
|
||||
except ModuleNotFoundError:
|
||||
|
||||
Reference in New Issue
Block a user