mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +00:00
Fix 'Missing call to __init__ during object initialization' from LGTM. See #1834
This commit is contained in:
@@ -1190,6 +1190,7 @@ class NmapContentHandler(xml.sax.handler.ContentHandler):
|
||||
that is filled in and can be read back again once the parse method is
|
||||
finished."""
|
||||
def __init__(self, scan):
|
||||
super(NmapContentHandler, self).__init__()
|
||||
self.scan = scan
|
||||
|
||||
# We keep a stack of the elements we've seen, pushing on start and
|
||||
|
||||
Reference in New Issue
Block a user