Minor code adjustments

This commit is contained in:
Bernardo Damele
2008-11-17 00:13:49 +00:00
parent 654aecedfe
commit 7d7170fc97
3 changed files with 8 additions and 13 deletions

View File

@@ -63,15 +63,13 @@ class htmlHandler(ContentHandler):
self.__match = None
def htmlParser(page, xmlfile=None):
def htmlParser(page):
"""
This function calls a class that parses the input HTML page to
fingerprint the back-end database management system
"""
if not xmlfile:
xmlfile = paths.ERRORS_XML
xmlfile = paths.ERRORS_XML
checkFile(xmlfile)
page = sanitizeStr(page)
handler = htmlHandler(page)