From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B6D06211C2830 for ; Wed, 30 Jan 2019 21:13:20 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2019 21:13:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,543,1539673200"; d="scan'208";a="118864811" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 30 Jan 2019 21:13:20 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 30 Jan 2019 21:13:20 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 30 Jan 2019 21:13:19 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.102]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.172]) with mapi id 14.03.0415.000; Thu, 31 Jan 2019 13:13:17 +0800 From: "Gao, Liming" To: "Feng, Bob C" , "edk2-devel@lists.01.org" Thread-Topic: [Patch] BaseTools: Fixed incorrect line number in PcdValueInit.c Thread-Index: AQHUuHwXKexNoRZ8NkuUIqRSk1SKfKXI1lkg Date: Thu, 31 Jan 2019 05:13:16 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E3D3F26@SHSMSX104.ccr.corp.intel.com> References: <20190130091302.11628-1-bob.c.feng@intel.com> In-Reply-To: <20190130091302.11628-1-bob.c.feng@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTlhNWZmNDUtMWRjOC00ZDM0LTg2MzUtOWQ4NGIxN2RjYTUwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZEltZzI2SzdXa2dTalNQM1RoMTRLZnJcL0lyZldCMEFZTUFaUFwvd3pRN0EzK3VXRjd4eThJRlJuZVNDOU5obWdPIn0= dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools: Fixed incorrect line number in PcdValueInit.c X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2019 05:13:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Feng, Bob C > Sent: Wednesday, January 30, 2019 5:13 PM > To: edk2-devel@lists.01.org > Cc: Feng, Bob C ; Gao, Liming > Subject: [Patch] BaseTools: Fixed incorrect line number in PcdValueInit.c >=20 > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1435 > This patch is going to fix the issue of incorrect line > number in PcdValueInit.c >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Bob Feng > Cc: Liming Gao > --- > BaseTools/Source/Python/Workspace/MetaFileTable.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/BaseTools/Source/Python/Workspace/MetaFileTable.py b/BaseToo= ls/Source/Python/Workspace/MetaFileTable.py > index 823a87e057..8832fc0a8f 100644 > --- a/BaseTools/Source/Python/Workspace/MetaFileTable.py > +++ b/BaseTools/Source/Python/Workspace/MetaFileTable.py > @@ -391,11 +391,11 @@ class PlatformTable(MetaFileTable): > else: > result =3D [item for item in result if item[8] < 0] > if FromItem is not None: > result =3D [item for item in result if item[9] =3D=3D FromIt= em] >=20 > - result =3D [ [r[2],r[3],r[4],r[5],r[6],r[7],r[0],r[9]] for r in = result ] > + result =3D [ [r[2],r[3],r[4],r[5],r[6],r[7],r[0],r[10]] for r in= result ] > return result >=20 > def DisableComponent(self,comp_id): > for item in self.CurrentContent: > if item[0] =3D=3D comp_id or item[8] =3D=3D comp_id: > -- > 2.20.1.windows.1