1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00

Fix calls to super from old-style classes.

This commit is contained in:
dmiller
2019-12-20 19:36:48 +00:00
parent ccdb816552
commit 6a971163ac
3 changed files with 3 additions and 3 deletions

View File

@@ -191,7 +191,7 @@ class ScriptHelpXMLContentHandler (xml.sax.handler.ContentHandler):
other information like categories and description, but all it gets is
filenames. (ScriptMetadata gets the other information.)"""
def __init__(self):
super(ScriptHelpXMLContentHandler, self).__init__()
xml.sax.handler.ContentHandler.__init__(self)
self.script_filenames = []
self.scripts_dir = None
self.nselib_dir = None