summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-06-27 18:07:55 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-07-08 15:39:23 +0800
commit9fb2cbdac4cb3122d72223cff02395daf751e365 (patch)
treefc3fb0c82d465fc8226a45a8bb23f33c44e837ed
parent75b7aa9528bdd05a7ecf4e64a6beb478d31b402c (diff)
downloadedk2-9fb2cbdac4cb3122d72223cff02395daf751e365.tar.gz
edk2-9fb2cbdac4cb3122d72223cff02395daf751e365.tar.bz2
edk2-9fb2cbdac4cb3122d72223cff02395daf751e365.zip
BaseTools: Remove the old python "not-equal" in DscBuildData.py
Replace "<>" with "!=" to be compatible with python3. Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
-rw-r--r--BaseTools/Source/Python/Workspace/DscBuildData.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py
index 06732e6fad..5cc814185e 100644
--- a/BaseTools/Source/Python/Workspace/DscBuildData.py
+++ b/BaseTools/Source/Python/Workspace/DscBuildData.py
@@ -2108,7 +2108,7 @@ class DscBuildData(PlatformBuildClassObject):
Messages = StdErr
Messages = Messages.split('\n')
MessageGroup = []
- if returncode <>0:
+ if returncode != 0:
CAppBaseFileName = os.path.join(self.OutputPath, PcdValueInitName)
File = open (CAppBaseFileName + '.c', 'r')
FileData = File.readlines()