Skip to content

Commit

Permalink
[analyzer] Use super().__init__ instead of calling the superclass by …
Browse files Browse the repository at this point in the history
…name (NASA-SW-VnV#158).

Use super().__init__. Will keep working even if we inherit from
something else.

[ci skip]
  • Loading branch information
ivanperez-keera committed Nov 27, 2023
1 parent f0f75f5 commit f8ff364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/python/ikos/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, server_address, RequestHandlerClass, bind_and_activate=True):
# If the exception is due to IPv6 not being supported, we
# select IPv4 only and try to re-open the server again.
self.address_family = AF_INET
HTTPServer(server_address, RequestHandlerClass, bind_and_activate)
super().__init__(server_address, RequestHandlerClass, bind_and_activate)
else:
# If the exception is for any other reason other than IPv6 not
# being supported, then we cannot do anything about it.
Expand Down

0 comments on commit f8ff364

Please sign in to comment.