cls not self

This commit is contained in:
Ross McFarland
2023-09-23 13:10:55 -07:00
parent dfac2da3ec
commit 879d8cd527
+1 -1
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
# 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:
self.log.warning(
cls.log.warning(
'"algorithm", "flags", "public_key", and "protocol" support is DEPRECATED and will be removed in 2.0'
)
try: