From eb2c0b2c80fc684f7ff230daf99b9f0d2fb77d4a Mon Sep 17 00:00:00 2001 From: "Carsey, Jaben" Date: Fri, 6 Apr 2018 07:13:50 +0800 Subject: 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 --- .../Source/Python/Common/TargetTxtClassObject.py | 27 ---------------------- 1 file changed, 27 deletions(-) (limited to 'BaseTools/Source/Python/Common/TargetTxtClassObject.py') 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 -- cgit v1.2.3