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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user