Browse Source

cls not self

pull/1065/head
Ross McFarland 2 years ago
parent
commit
879d8cd527
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/record/ds.py

+ 1
- 1
octodns/record/ds.py View File

@ -48,7 +48,7 @@ class DsValue(EqualityTupleMixin, dict):
# it is safe to assume if public_key or flags are defined then it is "old" style # it is safe to assume if public_key or flags are defined then it is "old" style
# A DS record without public_key doesn't make any sense and shouldn't have validated previously # A DS record without public_key doesn't make any sense and shouldn't have validated previously
if "public_key" in value or "flags" in value: if "public_key" in value or "flags" in value:
self.log.warning(
cls.log.warning(
'"algorithm", "flags", "public_key", and "protocol" support is DEPRECATED and will be removed in 2.0' '"algorithm", "flags", "public_key", and "protocol" support is DEPRECATED and will be removed in 2.0'
) )
try: try:


Loading…
Cancel
Save