]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove horrible unused argument with default value 16495/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 14:49:22 +0000 (09:49 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 14:49:22 +0000 (09:49 -0500)
The unused argument shadows a builtin function that's needed by the
function.

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/keyroller/pdnsapi/metadata.py

index 28b32ed5ca19914258fb96f6d91989a83404a139..82093f2f1e36fbf9253765a2e3e4b6d5ba20d3af 100644 (file)
@@ -1,5 +1,5 @@
 class ZoneMetadata:
-    def __init__(self, kind, metadata, type="Metadata"):
+    def __init__(self, kind, metadata):
         self.kind = kind
         if not isinstance(metadata, list):
             raise Exception('metadata must be a list, not a {}'.format(type(metadata)))