]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fixed incorrect line number in PcdValueInit.c
authorFeng, Bob C <bob.c.feng@intel.com>
Wed, 30 Jan 2019 09:09:53 +0000 (17:09 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Sat, 2 Feb 2019 02:28:56 +0000 (10:28 +0800)
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1435
This patch is going to fix the issue of incorrect line
number in PcdValueInit.c

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/MetaFileTable.py

index 823a87e0577e23a534a7280958b9717db2df62c5..8832fc0a8fa0ccbf7a97d37e3021fb60093604e5 100644 (file)
@@ -393,7 +393,7 @@ class PlatformTable(MetaFileTable):
         if FromItem is not None:\r
             result = [item for item in result if item[9] == FromItem]\r
 \r
-        result = [ [r[2],r[3],r[4],r[5],r[6],r[7],r[0],r[9]] for r in result ]\r
+        result = [ [r[2],r[3],r[4],r[5],r[6],r[7],r[0],r[10]] for r in result ]\r
         return result\r
 \r
     def DisableComponent(self,comp_id):\r