mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix calls to super from old-style classes.
This commit is contained in:
parent
ccdb816552
commit
6a971163ac
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue