]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/Dictionary.py
BaseTools: Remove equality operator with None
[mirror_edk2.git] / BaseTools / Source / Python / Common / Dictionary.py
index 1c33fefabf986d86db96e95c9cf252d45ec4a026..f653275ff13f8fde47c9a96917ae33eda943ff2e 100644 (file)
@@ -54,7 +54,7 @@ def ConvertTextFileToDictionary(FileName, Dictionary, CommentCharacter, KeySplit
 # @param Dict:  The dictionary to be printed\r
 #\r
 def printDict(Dict):\r
-    if Dict != None:\r
+    if Dict is not None:\r
         KeyList = Dict.keys()\r
         for Key in KeyList:\r
             if Dict[Key] != '':\r