summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/Dictionary.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Common/Dictionary.py')
-rw-r--r--BaseTools/Source/Python/Common/Dictionary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Common/Dictionary.py b/BaseTools/Source/Python/Common/Dictionary.py
index 1c33fefabf..f653275ff1 100644
--- a/BaseTools/Source/Python/Common/Dictionary.py
+++ b/BaseTools/Source/Python/Common/Dictionary.py
@@ -54,7 +54,7 @@ def ConvertTextFileToDictionary(FileName, Dictionary, CommentCharacter, KeySplit
# @param Dict: The dictionary to be printed
#
def printDict(Dict):
- if Dict != None:
+ if Dict is not None:
KeyList = Dict.keys()
for Key in KeyList:
if Dict[Key] != '':