projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BaseTools: fix None comparisons
[mirror_edk2.git]
/
BaseTools
/
Source
/
Python
/
AutoGen
/
GenC.py
diff --git
a/BaseTools/Source/Python/AutoGen/GenC.py
b/BaseTools/Source/Python/AutoGen/GenC.py
index c11bbc5716f927e9ee22926a4953099fffe494da..6706629722fcc7581054059becaa7cd39baf498d 100644
(file)
--- a/
BaseTools/Source/Python/AutoGen/GenC.py
+++ b/
BaseTools/Source/Python/AutoGen/GenC.py
@@
-1540,7
+1540,7
@@
def CreateModuleEntryPointCode(Info, AutoGenC, AutoGenH):
}
\r
\r
if Info.ModuleType in ['PEI_CORE', 'DXE_CORE', 'SMM_CORE', 'MM_CORE_STANDALONE']:
\r
- if Info.SourceFileList
<> None and Info.SourceFileList <> []
:
\r
+ if Info.SourceFileList:
\r
if NumEntryPoints != 1:
\r
EdkLogger.error(
\r
"build",
\r