From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Nov 2025 14:49:22 +0000 (-0500) Subject: Remove horrible unused argument with default value X-Git-Tag: rec-5.4.0-alpha1~70^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0c5c00c8b7b1f847214b9535d4d12aa9d2e63e9;p=thirdparty%2Fpdns.git Remove horrible unused argument with default value The unused argument shadows a builtin function that's needed by the function. Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/keyroller/pdnsapi/metadata.py b/pdns/keyroller/pdnsapi/metadata.py index 28b32ed5ca..82093f2f1e 100644 --- a/pdns/keyroller/pdnsapi/metadata.py +++ b/pdns/keyroller/pdnsapi/metadata.py @@ -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)))