# This file is used to create a database used by ECC tool\r
#\r
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
\r
##\r
\r
## Database\r
#\r
-# This class defined the ECC databse\r
+# This class defined the ECC database\r
# During the phase of initialization, the database will create all tables and\r
# insert all records of table DataModel\r
#\r
self.Conn = sqlite3.connect(self.DbPath, isolation_level = 'DEFERRED')\r
self.Conn.execute("PRAGMA page_size=4096")\r
self.Conn.execute("PRAGMA synchronous=OFF")\r
- # to avoid non-ascii charater conversion error\r
+ # to avoid non-ascii character conversion error\r
self.Conn.text_factory = str\r
self.Cur = self.Conn.cursor()\r
\r
\r
## UpdateIdentifierBelongsToFunction\r
#\r
- # Update the field "BelongsToFunction" for each Indentifier\r
+ # Update the field "BelongsToFunction" for each Identifier\r
#\r
#\r
def UpdateIdentifierBelongsToFunction_disabled(self):\r
\r
## UpdateIdentifierBelongsToFunction\r
#\r
- # Update the field "BelongsToFunction" for each Indentifier\r
+ # Update the field "BelongsToFunction" for each Identifier\r
#\r
#\r
def UpdateIdentifierBelongsToFunction(self):\r