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

@@ -217,7 +217,9 @@ class TinyDnsBaseSource(BaseSource):
try:
zone.add_record(record, lenient=lenient)
except DuplicateRecordException:
self.log.warn(f'Duplicate PTR record for {addr}, skipping')
self.log.warning(
f'Duplicate PTR record for {addr}, skipping'
)
class TinyDnsFileSource(TinyDnsBaseSource):