Przeglądaj źródła

refactor(api): code style

Peter Thomassen 4 lat temu
rodzic
commit
428f2e019e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api/desecapi/dns.py

+ 1 - 1
api/desecapi/dns.py

@@ -68,7 +68,7 @@ class LongQuotedTXT(dns.rdtypes.txtbase.TXTBase):
 
 
 # TODO remove when https://github.com/rthalley/dnspython/pull/625 is in the main codebase
-class _DigestLengthMixin():
+class _DigestLengthMixin:
     _digest_length_by_type = {
         1: 20,  # SHA-1, RFC 3658 Sec. 2.4
         2: 32,  # SHA-256, RFC 4509 Sec. 2.2