summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds
diff options
context:
space:
mode:
authorTomas Pilar <tpilar@solarflare.com>2018-10-30 00:52:53 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-11-01 10:23:23 +0800
commit5b9639e697350c9e18e98ddb0119e8598b004a8f (patch)
treeca2e04a9e969fdc9a82528c05529567f03b4255d /BaseTools/Source/Python/GenFds
parentbfc87aa78e77ed15b09d1b4499c5eab63e8842bb (diff)
downloadedk2-5b9639e697350c9e18e98ddb0119e8598b004a8f.tar.gz
edk2-5b9639e697350c9e18e98ddb0119e8598b004a8f.tar.bz2
edk2-5b9639e697350c9e18e98ddb0119e8598b004a8f.zip
BaseTools: Fix merge in FDF parser for OptionROM override
Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Tomas Pilar <tpilar@solarflare.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
-rw-r--r--BaseTools/Source/Python/GenFds/FdfParser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source/Python/GenFds/FdfParser.py
index 1c9a5130bf..44cc8f63d0 100644
--- a/BaseTools/Source/Python/GenFds/FdfParser.py
+++ b/BaseTools/Source/Python/GenFds/FdfParser.py
@@ -4396,8 +4396,8 @@ class FdfParser:
raise Warning.ExpectedEquals(self.FileName, self.CurrentLineNumber)
# Get a list of PCI IDs
Overrides.PciDeviceId = ""
- while (self.__GetNextHexNumber()):
- Overrides.PciDeviceId = "{} {}".format(Overrides.PciDeviceId, self.__Token)
+ while (self._GetNextHexNumber()):
+ Overrides.PciDeviceId = "{} {}".format(Overrides.PciDeviceId, self._Token)
if not Overrides.PciDeviceId:
raise Warning.Expected("one or more Hex device ids", self.FileName, self.CurrentLineNumber)
continue