Skip to content

Commit

Permalink
Fix: Add InvalidArgumentType superclass init
Browse files Browse the repository at this point in the history
The class InvalidArgumentType now explicitly calls the superclass
initializer, making it more explict that the message is set to None.
  • Loading branch information
timopollmeier authored and greenbonebot committed Dec 19, 2023
1 parent 285662e commit a0789e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gvm/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def __init__(
*,
function: Optional[str] = None,
):
# pylint: disable=super-init-not-called
super().__init__(None)
self.argument = argument
self.function = function
self.arg_type = arg_type
Expand Down

0 comments on commit a0789e2

Please sign in to comment.