]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Remove the outdated verbose parameter of namedtuple
authorYunhua Feng <yunhuax.feng@intel.com>
Tue, 25 Sep 2018 05:31:35 +0000 (13:31 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Sat, 13 Oct 2018 01:50:39 +0000 (09:50 +0800)
the verbose is outdated.
in 3.6: The verbose and rename parameters became keyword-only arguments

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Workspace/BuildClassObject.py

index 95edc376fe6ebc2eeacca973a5a31ab60257ca47..8969f84a2b46bb629e7fbc55a7919d61030b7a92 100644 (file)
@@ -242,7 +242,7 @@ class StructurePcd(PcdClassObject):
             self.PcdFieldValueFromComm = PcdObject.PcdFieldValueFromComm if PcdObject.PcdFieldValueFromComm else self.PcdFieldValueFromComm\r
             self.PcdFieldValueFromFdf = PcdObject.PcdFieldValueFromFdf if PcdObject.PcdFieldValueFromFdf else self.PcdFieldValueFromFdf\r
 \r
-LibraryClassObject = namedtuple('LibraryClassObject', ['LibraryClass','SupModList'], verbose=False)\r
+LibraryClassObject = namedtuple('LibraryClassObject', ['LibraryClass','SupModList'])\r
 \r
 ## ModuleBuildClassObject\r
 #\r