summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.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/GenMetaFile/GenInfFile.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/GenMetaFile/GenInfFile.py')
-rw-r--r--BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py b/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py
index 1f8b3f163e..40346b0b3a 100644
--- a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py
+++ b/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile.py
@@ -255,8 +255,8 @@ def GenModuleUNIEncodeFile(ModuleObject, UniFileHeader='', Encoding=DT.TAB_ENCOD
File = codecs.open(ContainerFile, 'wb', Encoding)
File.write(u'\uFEFF' + Content)
File.stream.close()
- Md5Sigature = md5(__FileHookOpen__(str(ContainerFile), 'rb').read())
- Md5Sum = Md5Sigature.hexdigest()
+ Md5Signature = md5(__FileHookOpen__(str(ContainerFile), 'rb').read())
+ Md5Sum = Md5Signature.hexdigest()
if (ContainerFile, Md5Sum) not in ModuleObject.FileList:
ModuleObject.FileList.append((ContainerFile, Md5Sum))