Minor refactoring

This commit is contained in:
Miroslav Stampar
2014-12-02 10:50:15 +01:00
parent 636e0588d5
commit 2358e34bb8
3 changed files with 0 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ import re
from xml.sax.handler import ContentHandler
from lib.core.common import checkFile
from lib.core.common import Backend
from lib.core.common import parseXmlFile
from lib.core.common import sanitizeStr
@@ -104,8 +103,6 @@ def bannerParser(banner):
if not xmlfile:
return
checkFile(xmlfile)
if Backend.isDbms(DBMS.MSSQL):
handler = MSSQLBannerHandler(banner, kb.bannerFp)
parseXmlFile(xmlfile, handler)