minor update

This commit is contained in:
Miroslav Stampar 2011-01-31 11:56:20 +00:00
parent fb3513650d
commit 1b4d68c844

View File

@ -23,6 +23,11 @@ MSSQL_XML = os.path.abspath("../../xml/banner/mssql.xml")
MSSQL_VERSIONS_URL = "http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/Default.aspx"
def updateMSSQLXML():
if not os.path.exists(MSSQL_XML):
errMsg = "[ERROR] file '%s' does not exist. please run the script from it's parent directory." % MSSQL_XML
print errMsg
return
infoMsg = "[INFO] retrieving data from '%s'" % MSSQL_VERSIONS_URL
print infoMsg