]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Remove the old python "not-equal" in DscBuildData.py
authorGary Lin <glin@suse.com>
Wed, 27 Jun 2018 10:07:55 +0000 (18:07 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Sun, 8 Jul 2018 07:39:23 +0000 (15:39 +0800)
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>
BaseTools/Source/Python/Workspace/DscBuildData.py

index 06732e6fade40845c51100bb738c899b8c05d4d3..5cc814185eb9ef7088ad3d65ef19c36b4d4facd3 100644 (file)
@@ -2108,7 +2108,7 @@ class DscBuildData(PlatformBuildClassObject):
             Messages = StdErr\r
         Messages = Messages.split('\n')\r
         MessageGroup = []\r
-        if returncode <>0:\r
+        if returncode != 0:\r
             CAppBaseFileName = os.path.join(self.OutputPath, PcdValueInitName)\r
             File = open (CAppBaseFileName + '.c', 'r')\r
             FileData = File.readlines()\r