BaseTools: remove uncalled functions
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
ce3082a6e7
commit
eb2c0b2c80
@ -137,33 +137,6 @@ class TargetTxtClassObject(object):
|
|||||||
F.close()
|
F.close()
|
||||||
return 0
|
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
|
## TargetTxtDict
|
||||||
#
|
#
|
||||||
# Load target.txt in input Conf dir
|
# Load target.txt in input Conf dir
|
||||||
|
Reference in New Issue
Block a user