summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/Logger/Log.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/UPT/Logger/Log.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/UPT/Logger/Log.py')
-rw-r--r--BaseTools/Source/Python/UPT/Logger/Log.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/UPT/Logger/Log.py b/BaseTools/Source/Python/UPT/Logger/Log.py
index e8c31f0072..7671202b30 100644
--- a/BaseTools/Source/Python/UPT/Logger/Log.py
+++ b/BaseTools/Source/Python/UPT/Logger/Log.py
@@ -190,7 +190,7 @@ def Warn(ToolName, Message, File=None, Line=None, ExtraData=None):
_INFO_LOGGER.log(WARN, LogText)
#
- # Raise an execption if indicated
+ # Raise an exception if indicated
#
if GlobalData.gWARNING_AS_ERROR == True:
raise FatalError(WARNING_AS_ERROR)
@@ -198,7 +198,7 @@ def Warn(ToolName, Message, File=None, Line=None, ExtraData=None):
## Log ERROR message
#
# Once an error messages is logged, the tool's execution will be broken by
-# raising an execption. If you don't want to break the execution later, you
+# raising an exception. If you don't want to break the execution later, you
# can give "RaiseError" with "False" value.
#
# @param ToolName The name of the tool. If not given, the name of caller
@@ -208,7 +208,7 @@ def Warn(ToolName, Message, File=None, Line=None, ExtraData=None):
# @param File The name of file which caused the error.
# @param Line The line number in the "File" which caused the warning.
# @param ExtraData More information associated with "Message"
-# @param RaiseError Raise an exception to break the tool's executuion if
+# @param RaiseError Raise an exception to break the tool's execution if
# it's True. This is the default behavior.
#
def Error(ToolName, ErrorCode, Message=None, File=None, Line=None, \