Minor language fix

This commit is contained in:
stamparm 2013-03-26 14:11:17 +01:00
parent 3f8dafedae
commit 473a39b820
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ MSSQL_VERSIONS_URL = "http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/t
def updateMSSQLXML(): def updateMSSQLXML():
if not os.path.exists(MSSQL_XML): 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 errMsg = "[ERROR] file '%s' does not exist. Please run the script from its parent directory" % MSSQL_XML
print errMsg print errMsg
return return

View File

@ -471,7 +471,7 @@ class Agent(object):
def preprocessField(self, table, field): def preprocessField(self, table, field):
""" """
Does a field preprocessing (if needed) based on it's type (e.g. image to text) Does a field preprocessing (if needed) based on its type (e.g. image to text)
Note: used primarily in dumping of custom tables Note: used primarily in dumping of custom tables
""" """

View File

@ -53,7 +53,7 @@ def base64pickle(value):
def base64unpickle(value): def base64unpickle(value):
""" """
Decodes value from Base64 to plain format and deserializes (with pickle) it's content Decodes value from Base64 to plain format and deserializes (with pickle) its content
>>> base64unpickle('gAJVBmZvb2JhcnEALg==') >>> base64unpickle('gAJVBmZvb2JhcnEALg==')
'foobar' 'foobar'

View File

@ -437,7 +437,7 @@ class XMLDump(object):
def query(self, query, queryRes): def query(self, query, queryRes):
''' '''
Adds details of an executed query to the xml. Adds details of an executed query to the xml.
The query details are the query itself and it's results. The query details are the query itself and its results.
''' '''
queryElem = self.__doc.createElement(QUERY_ELEM_NAME) queryElem = self.__doc.createElement(QUERY_ELEM_NAME)
queryElem.setAttributeNode(self._createAttribute(VALUE_ATTR, query)) queryElem.setAttributeNode(self._createAttribute(VALUE_ATTR, query))