summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/Database.py
diff options
context:
space:
mode:
authorAntoine Coeur <Coeur@gmx.fr>2019-02-06 15:44:39 +0800
committerLiming Gao <liming.gao@intel.com>2019-02-14 10:02:28 +0800
commitfb0b35e05f772bd415fe264267bbbcde2e0accda (patch)
tree02a7553984090494ef5236f043fe6b59f619b7d5 /BaseTools/Source/Python/Ecc/Database.py
parent325ad6226099d276564a65cdef012de0ff45ba8e (diff)
downloadedk2-fb0b35e05f772bd415fe264267bbbcde2e0accda.tar.gz
edk2-fb0b35e05f772bd415fe264267bbbcde2e0accda.tar.bz2
edk2-fb0b35e05f772bd415fe264267bbbcde2e0accda.zip
BaseTools: Various typo
Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Database.py')
-rw-r--r--BaseTools/Source/Python/Ecc/Database.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/Python/Ecc/Database.py b/BaseTools/Source/Python/Ecc/Database.py
index 9d4acac7b7..2a6b1198d8 100644
--- a/BaseTools/Source/Python/Ecc/Database.py
+++ b/BaseTools/Source/Python/Ecc/Database.py
@@ -39,7 +39,7 @@ DATABASE_PATH = "Ecc.db"
## Database
#
-# This class defined the ECC databse
+# This class defined the ECC database
# During the phase of initialization, the database will create all tables and
# insert all records of table DataModel
#
@@ -83,7 +83,7 @@ class Database(object):
self.Conn = sqlite3.connect(self.DbPath, isolation_level = 'DEFERRED')
self.Conn.execute("PRAGMA page_size=4096")
self.Conn.execute("PRAGMA synchronous=OFF")
- # to avoid non-ascii charater conversion error
+ # to avoid non-ascii character conversion error
self.Conn.text_factory = str
self.Cur = self.Conn.cursor()
@@ -214,7 +214,7 @@ class Database(object):
## UpdateIdentifierBelongsToFunction
#
- # Update the field "BelongsToFunction" for each Indentifier
+ # Update the field "BelongsToFunction" for each Identifier
#
#
def UpdateIdentifierBelongsToFunction_disabled(self):
@@ -267,7 +267,7 @@ class Database(object):
## UpdateIdentifierBelongsToFunction
#
- # Update the field "BelongsToFunction" for each Indentifier
+ # Update the field "BelongsToFunction" for each Identifier
#
#
def UpdateIdentifierBelongsToFunction(self):