mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
75b7aa9528
commit
9fb2cbdac4
|
@ -2108,7 +2108,7 @@ class DscBuildData(PlatformBuildClassObject):
|
||||||
Messages = StdErr
|
Messages = StdErr
|
||||||
Messages = Messages.split('\n')
|
Messages = Messages.split('\n')
|
||||||
MessageGroup = []
|
MessageGroup = []
|
||||||
if returncode <>0:
|
if returncode != 0:
|
||||||
CAppBaseFileName = os.path.join(self.OutputPath, PcdValueInitName)
|
CAppBaseFileName = os.path.join(self.OutputPath, PcdValueInitName)
|
||||||
File = open (CAppBaseFileName + '.c', 'r')
|
File = open (CAppBaseFileName + '.c', 'r')
|
||||||
FileData = File.readlines()
|
FileData = File.readlines()
|
||||||
|
|
Loading…
Reference in New Issue