From: Carsey, Jaben Date: Thu, 5 Apr 2018 23:13:50 +0000 (+0800) Subject: BaseTools: remove uncalled functions X-Git-Tag: edk2-stable201903~1953 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=eb2c0b2c80fc684f7ff230daf99b9f0d2fb77d4a BaseTools: remove uncalled functions Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey Reviewed-by: Yonghong Zhu --- diff --git a/BaseTools/Source/Python/Common/TargetTxtClassObject.py b/BaseTools/Source/Python/Common/TargetTxtClassObject.py index 0ba7725dd5..f8459c892e 100644 --- a/BaseTools/Source/Python/Common/TargetTxtClassObject.py +++ b/BaseTools/Source/Python/Common/TargetTxtClassObject.py @@ -137,33 +137,6 @@ class TargetTxtClassObject(object): F.close() return 0 - ## Print the dictionary - # - # Print all items of dictionary one by one - # - # @param Dict: The dictionary to be printed - # - def printDict(Dict): - if Dict is not None: - KeyList = Dict.keys() - for Key in KeyList: - if Dict[Key] != '': - print Key + ' = ' + str(Dict[Key]) - - ## Print the dictionary - # - # Print the items of dictionary which matched with input key - # - # @param list: The dictionary to be printed - # @param key: The key of the item to be printed - # - def printList(Key, List): - if type(List) == type([]): - if len(List) > 0: - if Key.find(TAB_SPLIT) != -1: - print "\n" + Key - for Item in List: - print Item ## TargetTxtDict # # Load target.txt in input Conf dir