summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/InfClassObject.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Common/InfClassObject.py')
-rw-r--r--BaseTools/Source/Python/Common/InfClassObject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Common/InfClassObject.py b/BaseTools/Source/Python/Common/InfClassObject.py
index f24e4e41a0..ba43eb5484 100644
--- a/BaseTools/Source/Python/Common/InfClassObject.py
+++ b/BaseTools/Source/Python/Common/InfClassObject.py
@@ -199,7 +199,7 @@ class Inf(InfObject):
#
# Load Inf file if filename is not None
#
- if Filename != None:
+ if Filename is not None:
self.LoadInfFile(Filename)
#