]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: remove uncalled functions
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>
Thu, 5 Apr 2018 23:13:50 +0000 (07:13 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 10 Apr 2018 02:00:00 +0000 (10:00 +0800)
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>
BaseTools/Source/Python/Common/TargetTxtClassObject.py

index 0ba7725dd5b54e3cfba6df09fd9b7712c195f7b4..f8459c892e365845e2cd0d32706b27cfa84a276f 100644 (file)
@@ -137,33 +137,6 @@ class TargetTxtClassObject(object):
         F.close()\r
         return 0\r
 \r
-    ## Print the dictionary\r
-    #\r
-    # Print all items of dictionary one by one\r
-    #\r
-    # @param Dict:  The dictionary to be printed\r
-    #\r
-    def printDict(Dict):\r
-        if Dict is not None:\r
-            KeyList = Dict.keys()\r
-            for Key in KeyList:\r
-                if Dict[Key] != '':\r
-                    print Key + ' = ' + str(Dict[Key])\r
-\r
-    ## Print the dictionary\r
-    #\r
-    # Print the items of dictionary which matched with input key\r
-    #\r
-    # @param list:  The dictionary to be printed\r
-    # @param key:   The key of the item to be printed\r
-    #\r
-    def printList(Key, List):\r
-        if type(List) == type([]):\r
-            if len(List) > 0:\r
-                if Key.find(TAB_SPLIT) != -1:\r
-                    print "\n" + Key\r
-                    for Item in List:\r
-                        print Item\r
 ## TargetTxtDict\r
 #\r
 # Load target.txt in input Conf dir\r