summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/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/Eot/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/Eot/Database.py')
-rw-r--r--BaseTools/Source/Python/Eot/Database.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/Eot/Database.py b/BaseTools/Source/Python/Eot/Database.py
index 65bac9c127..f6191161f2 100644
--- a/BaseTools/Source/Python/Eot/Database.py
+++ b/BaseTools/Source/Python/Eot/Database.py
@@ -38,7 +38,7 @@ DATABASE_PATH = "Eot.db"
## Database class
#
-# This class defined the EOT databse
+# This class defined the EOT 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=8192")
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()
@@ -198,7 +198,7 @@ class Database(object):
## UpdateIdentifierBelongsToFunction() method
#
- # Update the field "BelongsToFunction" for each Indentifier
+ # Update the field "BelongsToFunction" for each Identifier
#
# @param self: The object pointer
#