From 473a39b8204a67e93663b2f15954f7076a411088 Mon Sep 17 00:00:00 2001 From: stamparm Date: Tue, 26 Mar 2013 14:11:17 +0100 Subject: [PATCH] Minor language fix --- extra/mssqlsig/update.py | 2 +- lib/core/agent.py | 2 +- lib/core/convert.py | 2 +- lib/core/xmldump.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/mssqlsig/update.py b/extra/mssqlsig/update.py index 1f3c36893..65ec692da 100644 --- a/extra/mssqlsig/update.py +++ b/extra/mssqlsig/update.py @@ -21,7 +21,7 @@ MSSQL_VERSIONS_URL = "http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/t 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 + errMsg = "[ERROR] file '%s' does not exist. Please run the script from its parent directory" % MSSQL_XML print errMsg return diff --git a/lib/core/agent.py b/lib/core/agent.py index 604e39b13..3ec380be6 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -471,7 +471,7 @@ class Agent(object): 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 """ diff --git a/lib/core/convert.py b/lib/core/convert.py index 7dbaee1e2..91102b176 100644 --- a/lib/core/convert.py +++ b/lib/core/convert.py @@ -53,7 +53,7 @@ def base64pickle(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==') 'foobar' diff --git a/lib/core/xmldump.py b/lib/core/xmldump.py index 83525c07b..e0c377962 100644 --- a/lib/core/xmldump.py +++ b/lib/core/xmldump.py @@ -437,7 +437,7 @@ class XMLDump(object): def query(self, query, queryRes): ''' 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.setAttributeNode(self._createAttribute(VALUE_ATTR, query))